# How to check Debian version: the quick and easy way

[Debian](https://www.ionos.com/digitalguide/server/know-how/debian-the-universal-system-software/), along with [Ubuntu](https://www.ionos.com/digitalguide/server/know-how/ubuntu-the-linux-system-for-everyone/), is one of the most common distributions used by Linux users. Professional users enjoy the first version developed in 1993, as it is the most flexible and based on open source software. **If you install one of the free programs, knowing which Debian version you have** will help you download the right package. You also need to know your current version if you ask questions in one of the forums. But how can you check your Debian version?

## How to check Debian version: Terminal

One way to check your Debian version is by using Terminal, also called Command Line. There are **several commands you can input to display your current version**. First things first though: open Terminal. One option is to simultaneously press [\[Alt\]](https://www.ionos.com/digitalguide/websites/web-development/alt-key/ "Alt key"), the [Function key](https://www.ionos.com/digitalguide/websites/web-development/function-keys-f-keys/ "Function keys (F keys)") and \[F2\], then type “gnome-terminal” into the dialog box. You can also select Terminal directly from the Start menu. Once you get to the Command Line, you can check your Debian version using the following commands.

Note Gnome is one of the most popular desktop environments on Debian. If you have a different program and therefore different software for the Command Line, you must choose the relevant route to be able to get to Terminal.

### cat command

One of the commands you can use in Terminal to check your Debian version is:

```none
cat /etc/debian_version
```

Your version will be shown **on the next line**.

[![Image: The cat command shows your Debian version in Terminal](https://www.ionos.com/digitalguide/fileadmin/_processed_/a/0/csm_cat-command-shows-debian-version-in-terminal_552b1947f7.webp "The cat command shows your Debian version in Terminal")](https://www.ionos.com/digitalguide/fileadmin/DigitalGuide/Screenshots_2020/cat-command-shows-debian-version-in-terminal.jpg) The cat command shows your Debian version in Terminal ### lsb\_release command

“lsb\_release” is another command you can use to check your Debian version. You can get detailed information about all base versions in your distribution by typing “lsb\_release -a”, or a simple overview including versions by typing “lsb\_release -d”.

[![Image: lsb_release -a with all base information about your distribution](https://www.ionos.com/digitalguide/fileadmin/_processed_/c/5/csm_lsb_release-a-base-information-about-distribution_69d27556b2.webp "lsb_release -a with all base information about your distribution")](https://www.ionos.com/digitalguide/fileadmin/DigitalGuide/Screenshots_2020/lsb_release-a-base-information-about-distribution.jpg) lsb\_release -a with all base information about your distribution [![Image: lsb_release -d with summarized information about your distribution](https://www.ionos.com/digitalguide/fileadmin/_processed_/9/5/csm_lsb_release-d-summarized-information-about-distribution_ef3acb6cc5.webp "lsb_release -d with summarized information about your distribution")](https://www.ionos.com/digitalguide/fileadmin/DigitalGuide/Screenshots_2020/lsb_release-d-summarized-information-about-distribution.jpg) lsb\_release -d with summarized information about your distribution ## How to check Debian version: GUI

If you don’t want to use the Terminal, you can also **check your Debian version using a graphical interface**. To do this, you need to install the program **Hardinfo**, if you don’t already have it in your system. You can install it using the following code in Terminal:

```none
apt-get install hardinfo
```

When you launch the program, you can see your current Debian version in **“Operating system”** under **“Computer”**.

[![Image: Hardinfo shows all important system information](https://www.ionos.com/digitalguide/fileadmin/_processed_/f/5/csm_hardinfo-shows-system-information_622fb4b942.webp "Hardinfo shows all important system information")](https://www.ionos.com/digitalguide/fileadmin/DigitalGuide/Screenshots_2020/hardinfo-shows-system-information.jpg) Hardinfo shows all important system information


This is a markdown version of: [https://www.ionos.com/digitalguide/server/know-how/how-to-check-debian-version/](https://www.ionos.com/digitalguide/server/know-how/how-to-check-debian-version/) for AI/LLM consumption.