Raspberrypi debian version check
Determine debian version

We all know that Raspberry Pi can run several types OS images, not just limited to Linux. But if you are a Raspbian user, sometimes you may wonder what Debian version you’ve and you want to figure it out for several reasons. Here, we present some of the methods for you to try.

Checking the /etc/issue file is the simplest way to find the the Debian version your raspberry is currently running on. To check that, type this;

However, that command may not show the current Debian update point release. You can get more accurate info on this with the following command;

Another method is to use the lsb_release command. Try this;

If you don’t get any output, that probably means you need to install lsb_release. Try the below command to install it;

Once you install the above package run the lsb_release -a command again to see what Debian version you are running on your raspberry pi;

There is one more way find the info. Type the below command;

Since these commands are for Debian boxes, you can try these with other Debian distros as well.

Comment below what you think of this or check raspberrypi.stackexchange.com if you need a solution for your unique problems.

Happy coding!

Comments

digxtech

This site uses Akismet to reduce spam. Learn how your comment data is processed.