Upgrading to a new version of OpenSUSE from the command line involves the following steps:
- 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. - Backup your data: Before upgrading, it’s important to backup your data, in case something goes wrong during the upgrade process.
- 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
. - 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
. - 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. - 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.