Need to know which openSUSE version you have on your system?
In cases where you need to upgrade your system or want to install software that requires a particular version of OS, then you must know the version of OS. Also, if you don't know about your OS version number, you will not able to know where to exactly look for assistance. For these reasons, you must know about the OS version (major and minor).
The major versions of openSUSE are 12, 13, 15, etc. and the minor versions are 12.2, 12.3, 13.1, 15.0, etc.
Here at LinuxAPT, we shall look into the different ways of finding the openSUSE version either via the command line or graphically.
If you are an Ubuntu user, visit How to Check Ubuntu Version: https://linuxapt.com/blog/423-check-ubuntu-version.
The lsb_release command is not installed by default in OpenSUSE. You can install it running the below command:
$ sudo zipper install lsb-release
Then you will have to provide the sudo password. Type password for sudo and hit Enter. This will install lsb_release on your OpenSUSE.
Now to check the version of your openSUSE OS, run the below command:
$ lsb_release -a
In the output of the lsb_release command, you will see the version number of your openSUSE Linux system.
The hostnamectl command is commonly used to find and change the hostname of a Linux system. You can also use the hostnamectl command to find your OS version. Simply run the command below to find openSUSE version number:
$ hostnamectl
In the output of the hostnamectl command, you will see your current openSUSE version.
The /etc/os-release contains identification information about your OS including its version number. Run the command below to find your openSUSE version number:
$ cat /etc/os-release
In the output of the /etc/os-release command, you will see your openSUSE version.
This article covers the different ways of checking your openSUSE version.
Steps to to find openSUSE Linux version: