Operating System: Debian GNU/Linux 9 (stretch) Machine ID: 287b816ad03c4f429f7bb49501983e1cīoot ID: 7fd5cca4dd5c41f6ac53214e11fa3f57 RusBITech-Astra LLC has published the release of Astra Linux Common Edition 2.12.40, built on the Debian GNU / Linux 9 Stretch package base and supplied. This command will work only for Debian 9 and newer versions. Mostly, hostnamectl command is used to set hostname in Debian systems but you also can check the system details using it.
How to Check Debian Version using hostnamectl command ? Using below command you can see it: $ cat /etc/issueĤ. Like, os-release the /etc/issue file also contains the system identification text. How to Check Debian Version using /etc/issue file ? Its goal is to ensure Linux Mint can continue to deliver the same user experience if Ubuntu was ever to disappear. PRETTY_NAME="Debian GNU/Linux 9 (stretch)"ģ. LMDE is a Linux Mint project which stands for 'Linux Mint Debian Edition'. The output will be similar as below: Output Os-release file contains identification data of operating system and this available only with newer Debian distribution: $ cat /etc/os-release How to Check Debian Version using /etc/os-release file ? The output should be similar like below: OutputĢ. Instead of print all the details of your Debian system, you can simply print only distribution name by passing -d with command: $ lsb_release -d Commonly, this method is best because it will work regardless of any desktop environment or version you are using: $ lsb_release -aĭescription: Debian GNU/Linux 9.5 (stretch)įrom the above output you can see that Description line is showing OS version. So here we are going to check Debian version using lsb_release (Linux Standard Base) utility. It is best practice to check version using command line as it is not depend on anything. How to Check Debian Version using Command Line ?
Currently development version will be converted to Unstable.ġ. It contains packages with unstable version and updated frequently.
It is quite easy to know which version of the Debian operating system we are using and this mostly happens when you log in to the Debian server after a long time or when looking for a software that is available for a specific version of Debian only.