VOOZH about

URL: https://www.tecmint.com/find-opensuse-linux-version/

⇱ How to Find openSUSE Linux Version


Skip to content

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 this article helped, share it with someone on your team.
TecMint Weekly Newsletter
Get the Learn Linux 7 Days Crash Course free when you join 34,000+ Linux professionals reading every Thursday.
Check your email for a magic link to get started.
Something went wrong. Please try again.
β˜•
TecMint has been free for 14 years. Help keep it that way.
Google AI Overviews and tools like ChatGPT have cut into search traffic for independent tech sites like TecMint. Running this site costs over $2,000 every month for hosting, infrastructure, and paying authors to keep the content accurate and tested.

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.
β˜• Buy Me a Coffee
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.

Each tutorial at TecMint is created by a team of experienced Linux system administrators so that it meets our high-quality standards.

4 Comments

Leave a Reply
  1. You did not mention the most obvious and simplest command – β€˜uname -aβ€˜.

    Reply
    • @Dragonmouth

      Ooops, how did i forget it! Many thanks for sharing.

      Reply
      • Well this doesn’t show opensuse version, os-release does? i got to this article after doing uname -a myself on Tumbleweed and it just shows Linux kernel version i think.

        Reply
        • @ULI

          True, β€˜uname -a’ doesn’t show opensuse version.

          Reply

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

Free Course
Get a free Linux course before you go.
Subscribe to TecMint Weekly and get the Learn Linux 7 Days Crash Course free. Read by 34,000+ Linux professionals every Thursday.
Check your email for a magic link to get started.