Debian Check Version

Debian Check Version

debian check version
Here is how to Debian Check Version. I have a lot of virtual machines running Debian. And I dont always remember which version I have on which machine. If you are unsure of which version of Debian you have installed. Here is a few different methods on how check version of your Debian install.

Debian Check Version – Method 1

This will give you the version number of Debian. But it will not give your the update version.
You can simple just read the /etc/issue file.

john@debian:~$ cat /etc/issue
Debian GNU/Linux 7

Debian Check Version – Method 2

This next method will give you the version and the update version. You just need to read the file /etc/debian_version

john@debian:~$ cat /etc/debian_version
7.8

Debian Check Version – Method 3

This method require the use of the package lsb-release. You most likely have it installed already. But if you don’t just run (as root or sudo) apt-get install lsb-release.

Then just run lsb_release -da. Here is an example of the print out from the command.
john@debian:~$ lsb_release -da
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 7.8 (wheezy)
Release: 7.8
Codename: wheezy

Debian Check Version – Method 4

The last method require a systemd running. Then you can use the hostnamectl command.
Here is an example from one of my virtual machines.

root@web:/home/ronny# hostnamectl
Static hostname: web
Icon name: computer-vm
Chassis: vm
Machine ID: 777f6a7a8ff46053d6b461c28e48a0d3
Boot ID: 262db0123dee487582834840e85f2cd9
Virtualization: kvm
Operating System: Debian GNU/Linux 8 (jessie)
Kernel: Linux 3.16.0-4-amd64
Architecture: x86-64

So that was four different methods of checking your Debian version number.

Happy version checking!

About Author

Related Posts

php8 gd

PHP8 gd Activate after installation

PHP8 GD activate after installation. GD doesn’t get activated by default. Not even a reboot after installation will activate it. So how do we do it? In…

Debian 12: linux-image-6.1.0-10amd64

Troubleshooting dependency issues in Debian 12: Resolving linux-image-6.1.0-10amd64 package dependency problems. If you installed the Debian 12 from the live image the issue is the raspi-firmware. Even…

4 Best Free Nas Software That Is Open Source

Free NAS software or operating systems that are free to use and will turn a computer into a NAS more advanced than the dedicated boxes sold. What…

Raspbian default password

Raspbian default password

Looking for the Raspbian default password? It is the most essential username and password that you will need for your raspberry. At least if you are running…

OpenMediaVault default password

OpenMediaVault default password

OpenMediaVault default password is printed in the documentation. I did not see it the first time I installed it either. So I had to do some detective…

Debian change dns

Debian change DNS settings to a new DNS

Debian change DNS settings for speed improvement or privacy. It is really easy to do. So let us see how it’s done and get to it. The…

Leave a Reply