How to upgrade OpenSUSE 15.3 to 15.4 using the CLI

Upgrading to a new version of OpenSUSE from the command line involves the following steps:

  1. Make sure your system is up-to-date: Before you begin the upgrade process, you should ensure that your system is fully up-to-date by running the command zypper update. This will update any existing packages to the latest version.
  2. Backup your data: Before upgrading, it’s important to backup your data, in case something goes wrong during the upgrade process.
  3. Add the new version’s repository: To upgrade to OpenSUSE 15.4, you will need to add the new version’s repository to your system. You can do this by running the command zypper addrepo -f -n "openSUSE 15.4" https://download.opensuse.org/distribution/leap/15.4/repo/oss/ repo-oss.
  4. Refresh the package list: After adding the new version’s repository, you will need to refresh your package list by running the command zypper refresh.
  5. Perform the upgrade: Once your package list is up-to-date, you can begin the upgrade process by running the command zypper dist-upgrade. This command will upgrade your system to the new version of OpenSUSE.
  6. Perform cleanup: After the upgrade process is completed, you can run the command zypper clean to clean up any unnecessary files.

Please note that this process will take some time, depending on the number of packages you have installed and your internet connection speed. It’s also recommended to reboot the system after the upgrade process is finished. (https://www.whitestallion.com/)

Also, please note that before upgrading, it’s a good practice to read the release notes and check if there’s any specific instructions related to your system configuration or installed packages that might be affected by the upgrade.

Leave a Comment