{"id":15061,"date":"2022-02-11T09:48:06","date_gmt":"2022-02-11T09:48:06","guid":{"rendered":"https:\/\/linuxways.net\/?p=15061"},"modified":"2022-02-11T09:48:06","modified_gmt":"2022-02-11T09:48:06","slug":"how-to-check-debian-version","status":"publish","type":"post","link":"https:\/\/linuxways.net\/de\/debian\/how-to-check-debian-version\/","title":{"rendered":"How to Check Debian Version"},"content":{"rendered":"<p>Most users do not know how to collect information about the running OS version on their system. Even do not know how to find the installed version.\u00a0 In this tutorial, we will explore different commands through which you can check which <a href=\"https:\/\/www.debian.org\/\">Debian version is running<\/a> on your Linux system. The different two methods will demonstrate in the article that help you to check the Debian version.<\/p>\n<h2>Method 01: Check the Debian version using the Command line<\/h2>\n<p>Below, we have mentioned various commands through which you can check your Debian version on your Linux system.<\/p>\n<h3>Display Debian version using lsb_release<\/h3>\n<p>The lsb_release is a command-line utility that displays the LSB (Linux Standard Base) information about the running Linux operating system. It is recommended to use this method to check the Debian version.<\/p>\n<p>The lsb_release command displays the LSB information about running Linux OS on your system. This command displays the information about any Debian version without considering which desktop environment you are using. Use the \u2018lsb_release\u2019 command in the following way to check debian version:<\/p>\n<pre>$ lsb_release \u2013a<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"726\" height=\"200\" class=\"wp-image-15062\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-306.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-306.png 726w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-306-300x83.png 300w\" sizes=\"auto, (max-width: 726px) 100vw, 726px\" \/><\/p>\n<p>You can check the installed debian version in the description line. If you want to display the Debian version instead of displaying more information then, try the following command:<\/p>\n<pre>$ lsb_release -d<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"724\" height=\"80\" class=\"wp-image-15063\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-307.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-307.png 724w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-307-300x33.png 300w\" sizes=\"auto, (max-width: 724px) 100vw, 724px\" \/><\/p>\n<p>This command only displays the description of the installed Debian version.<\/p>\n<h3>Display debian version using the \/etc\/issue file<\/h3>\n<p>Using the \/etc\/issue file information, you can also check the currently running Debian version on your system. Using the cat command can display the content of the \/etc\/issue file on the terminal. Type the below-mentioned command to display the Debian version using the \u2018\/etc\/issue\u2019 file:<\/p>\n<pre>$ cat \/etc\/issue<\/pre>\n<p>The following output prints on your terminal:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"722\" height=\"76\" class=\"wp-image-15064\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-308.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-308.png 722w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-308-300x32.png 300w\" sizes=\"auto, (max-width: 722px) 100vw, 722px\" \/><\/p>\n<h3>Display Debian version using hostnamectl command<\/h3>\n<p>Using the hostnamectl command, you can set your system hostname and you can display the currently running Debian version information. You can check the running Debian version by using the \u2018hostnamectl\u2019 command in the following way:<\/p>\n<pre>$ hostnamectl<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"724\" height=\"208\" class=\"wp-image-15065\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-309.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-309.png 724w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-309-300x86.png 300w\" sizes=\"auto, (max-width: 724px) 100vw, 724px\" \/><\/p>\n<p>This command shows the information about the currently running distribution on your system. However, you can only use this command for Debian 9 and later versions.<\/p>\n<h3>Display Debian version using \/etc\/os-release file<\/h3>\n<p>The os-release file gives the details about the operating system. But, this is only available in the latest Debian distributions running systemd service. Display the Debian version information using the \u2018\/etc\/os-release\u2019 file:<\/p>\n<pre>$ cat \/etc\/os-release<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"726\" height=\"204\" class=\"wp-image-15066\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-310.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-310.png 726w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-310-300x84.png 300w\" sizes=\"auto, (max-width: 726px) 100vw, 726px\" \/><\/p>\n<h3>Check Debian Version using cat \/etc\/debian_version<\/h3>\n<p>You can check the Debian version by displaying the debian_version content. But, it will only show you the recent point release in Debian.<\/p>\n<pre>$ cat \/etc\/debian_version<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"724\" height=\"67\" class=\"wp-image-15067\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-311.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-311.png 724w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-311-300x28.png 300w\" sizes=\"auto, (max-width: 724px) 100vw, 724px\" \/><\/p>\n<h2>Method 02: Check the Debian version using the graphical desktop environment<\/h2>\n<p>To check the running Debian version by using the graphical user interface, do the following steps:<\/p>\n<p>Launch the system \u2018Settings\u2019.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"797\" height=\"599\" class=\"wp-image-15068\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-312.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-312.png 797w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-312-300x225.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-312-768x577.png 768w\" sizes=\"auto, (max-width: 797px) 100vw, 797px\" \/><\/p>\n<p>Click on the left sidebar tab \u2018About\u2019.<\/p>\n<p>The following OS details about the Debian version on the displaying window:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"793\" height=\"568\" class=\"wp-image-15069\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-313.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-313.png 793w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-313-300x215.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/02\/word-image-313-768x550.png 768w\" sizes=\"auto, (max-width: 793px) 100vw, 793px\" \/><\/p>\n<h2>Conclusion<\/h2>\n<p>We have seen in this tutorial how to check the Debian version using various commands and through GUI. It is a very straightforward method to check the version of Debian distribution. You can install the latest <a href=\"https:\/\/linuxways.net\/de\/debian\/how-to-install-debian-11-bullseye-distribution-on-virtualbox\/\">Debian distribution Debian 11<\/a> and try all the above-mentioned commands. I hope the above information will help you to find the currently running Debian version on your system.<\/p>","protected":false},"excerpt":{"rendered":"<p>Most users do not know how to collect information about the running OS version on their system. Even do not know how to find the installed version.\u00a0 In&hellip;<\/p>","protected":false},"author":1,"featured_media":15112,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[521],"class_list":["post-15061","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-debian","tag-debian-11"],"_links":{"self":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/15061","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/comments?post=15061"}],"version-history":[{"count":1,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/15061\/revisions"}],"predecessor-version":[{"id":15113,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/15061\/revisions\/15113"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media\/15112"}],"wp:attachment":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media?parent=15061"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/categories?post=15061"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/tags?post=15061"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}