How To Find OpenSuse / SUSE Linux Version

How To Find OpenSuse / SUSE Linux Version
in
Categories
Linux, Suse, Troubleshooting


How do I find out my Suse Linux / OpenSuse Linux / Suse Enterprise Linux server/desktop version using the command line options?
You need to use the following cat command to find out your SUSE / OpenSuse Linux version. Open a terminal app and type the following command:
$ cat /etc/SuSE-release
Sample Outputs:


SUSE LINUX 10.0  OSS
VERSION = 10.0
Using /etc/os-release file
Another options is to type the following command:
$ cat /etc/os-release
Sample outputs:
NAME="openSUSE Leap"
VERSION="42.3"
ID=opensuse
ID_LIKE="suse"
VERSION_ID="42.3"
PRETTY_NAME="openSUSE Leap 42.3"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:leap:42.3"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org/"
Use lsb_release command
You may need to install a package callee lsb_release using the zypper command:
$ sudo zypper install lsb-release
Sample outputs:
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following NEW package is going to be installed:
  lsb-release

1 new package to install.
Overall download size: 9.2 KiB. Already cached: 0 B. After the operation, additional 16.2 KiB will be used.
Continue? [y/n/...? shows all options] (y): y
Retrieving package lsb-release-2.0-28.3.noarch                                                                                                                                                           (1/1),   9.2 KiB ( 16.2 KiB unpacked)
Retrieving: lsb-release-2.0-28.3.noarch.rpm ................................................................................................................................................................................[done (1.2 KiB/s)]
Checking for file conflicts: ...........................................................................................................................................................................................................[done]
(1/1) Installing: lsb-release-2.0-28.3.noarch ..........................................................................................................................................................................................[done]
Once installed type the following command:
$ lsb_release -a
Sample outputs:
LSB Version: n/a
Distributor ID: openSUSE project
Description: openSUSE Leap 42.3
Release: 42.3
Codename: n/a
Posted by: Vivek

Comments

Popular posts from this blog

How to Install Software From Outside Ubuntu’s Software Repositories

How to install Softwares in Ubuntu linux

How to Find Out What is Causing Problems on Your Windows 7 PC