How to Find openSUSE Linux Version

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.

Find openSUSE Version in GUI

Find openSUSE Version in GUI

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 
Find openSUSE Version

Find openSUSE Version

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 You Appreciate What We Do Here On TecMint, You Should Consider:

TecMint is the fastest growing and most trusted community site for any kind of Linux Articles, Guides and Books on the web. Millions of people visit TecMint! to search or browse the thousands of published articles available FREELY to all.

If you like what you are reading, please consider buying us a coffee ( or 2 ) as a token of appreciation.

Support Us

We are thankful for your never ending support.

Aaron Kili

Aaron Kili is a Linux and F.O.S.S enthusiast, an upcoming Linux SysAdmin, web developer, and currently a content creator for TecMint who loves working with computers and strongly believes in sharing knowledge.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

4 Responses

  1. dragonmouth says:

    You did not mention the most obvious and simplest command – ‘uname -a‘.

Leave a Reply to dragonmouth Cancel reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.