In this article, we will explain how to find out which version of openSUSE Linux distribution installed and running on a computer. The /etc/os-release and /usr/lib/os-release files include all openSUSE version information and you can view openSUSE Version information in these two files using your favorite text editor from the graphical user interface (GUI) or from the command line interface (CLI) as shown below.
From the GUI, simply open the /etc/os-release and /usr/lib/os-release files using your favorite text editor. For example using Kate text editor, which contain operating system identification data.
Alternatively, open the terminal and use the cat utility to view contents of /etc/os-release and /usr/lib/os-release as shown.
$ cat /etc/os-release OR $ cat /usr/lib/os-release file
Some of the important fields in the file are explained below:
- NAME: A human-friendly name of the distribution, without the version number. example βopenSUSE Leapβ.
- PRETTY_NAME: A human-friendly name of the distribution, with a version number. example βopenSUSE Leap 15.0β.
- VERSION: A human-friendly version of the distribution. example β15.0β.
- ID: A computer-friendly name of the distribution, without the version number. example βopensuse-leapβ. This field should be safe for parsing in scripts.
- ID_LIKE: A space divided list of IDs for equivalent operating systems with common behavior to ID=. example βopensuse suseβ. Note that the entry of βsuseβ means all openSUSE, SUSE, SUSE Linux Enterprise distributions and derivatives such as βopensuseβ represents only openSUSE distributions and derivatives.
- VERSION_ID: A computer-friendly version of the distribution. example β15.0β or β20180530β.
Another Alternative way is to use the lsb_release command to find the version of your currently running OpenSuSE Linux as shown.
$ lsb_release -a
Note: Your system must have lsb-release package installed, if not, install it using zypper command as shown.
$ sudo zypper install lsb-release
Thatβs all! In this short article, we have described instructions on how to find which version of openSUSE you are running via the Graphical and Command-line way. If you have any questions or thoughts to share concerning this topic, reach us via the comment form below.
If this article helped you solve a problem, consider buying a coffee. It helps keep TecMint free, supports the authors, and keeps the project going.

Got Something to Say? Join the Discussion... Cancel reply