How to Migrating openSUSE Leap 15.x to Version 16.0

Categories: Linux

The release of openSUSE Leap 16.0 marks the beginning of a new era for the chameleon operating system. As support for the entire Leap 15 lifecycle (including Leap 15.6) comes to an end, administrators and desktop users need to transition to the modernized base.

Thanks to the official openSUSE Migration Tool, this major version jump is much smoother than previous upgrades. This step-by-step guide will show you how to safely upgrade your system to Leap 16.0.


⚠️ Crucial Prerequisites Before You Start

Before entering commands into your terminal, you must account for three fundamental changes:

  1. Check CPU Compatibility: Leap 16.0 strictly requires a CPU with x86_64-v2 support. Older processors (manufactured before roughly 2009–2011) are no longer supported.
  2. The Farewell to YaST: openSUSE is modernizing its core architecture. Many classic YaST modules have been removed. To manage your system, Leap 16.0 now relies on web interfaces like Cockpit and the Myrlyn software tool.
  3. Security Framework: Leap 16.0 now uses SELinux instead of AppArmor by default (though switching back remains an option after the upgrade).

Step 1: Hardware Check & System Backup

First, verify in your terminal whether your CPU includes the instructions required for Leap 16.0:

# If the tool outputs "supported", you are good to go
sudo opensuse-migration-tool --check-v2

(Alternatively, check /proc/cpuinfo for the following flags: cx16, lahf_lm, popcnt, sse4_1, sse4_2, and ssse3.)

Next, create a full backup of your critical data, or take a snapshot if you run openSUSE in a virtual environment. If you use the Btrfs file system, the default snapper tool will allow for an easy rollback in case of an emergency.


Step 2: Fully Update Your Current System

Bring your existing Leap 15 installation (Leap 15.6 is highly recommended as the starting base) completely up to date with the latest patches:

sudo zypper refresh
sudo zypper update

Reboot your computer after the update finishes to ensure all current kernel services are active.


Step 3: Run the Upgrade (The Automated Way)

The openSUSE development team created the openSUSE Migration Tool to handle repository reconfiguration automatically and minimize dependency conflicts.

  1. Install the migration tool:sudo zypper in opensuse-migration-tool
  2. Launch the migration:sudo opensuse-migration-tool
  3. Follow the on-screen assistant:
    An ncurses-based menu interface will open in your terminal.
    • Select the entry for openSUSE Leap 16.0.
    • The tool will automatically detect third-party repositories (such as Packman, VLC, or OBS). You must disable these during the upgrade process to avoid dependency errors. You can safely re-enable them after the upgrade.
    • Confirm and start the process. The tool will trigger a zypper dup command and download all required packages.

Note: Because this process downloads several gigabytes of data and updates over 1,500 packages, it can take some time depending on your internet connection and hardware speed.


Step 4: Finalize and Reboot

Once the migration tool successfully completes the package updates, it will prompt you to restart your system.

sudo reboot

After the reboot, you will be greeted by the new desktop environment (featuring KDE Plasma 6 or GNOME running on a pure Wayland architecture by default).


Step 5: Post-Upgrade Check

Log in, open a terminal, and verify that the system successfully completed the version jump:

cat /etc/os-release

The output should now show VERSION="16.0". You can now re-add your third-party repositories compatible with version 16.0 and clean up orphaned packages.

If you want a graphical interface to manage your system, install the Cockpit web console:

sudo zypper in cockpit
sudo systemctl enable --now cockpit.socket

You can then access your system management dashboard through any web browser at https://localhost:9090.

«
»

    Leave a Reply

    Your email address will not be published. Required fields are marked *