How to Check Ubuntu Version
access_time
hourglass_empty
person_outline

How to Check Ubuntu Version

It is good to know what version your Ubuntu is at any given time. But especially when working with servers or Linux systems, as they sometimes do not have a graphical interface for you to use.

Knowing your Ubuntu version will help you better understand what packages or applications you should be installing. So how do you check your Ubuntu version?

This article will teach you how to check your Ubuntu version information a few different ways, through the terminal and command line, and using the graphical interface.

Ubuntu Versions Explained

Ubuntu releases versions every 6 months. This may seem like a lot, but it makes the development more controlled. Versions are usually released in April and October.

Every two years, there is an LTS (long term supported) version with support for at least 5 years. The current LTS version is 19.10, released in October 2019. You probably already noticed, the Ubuntu version number refers to the year and month of release. That means that the next LTS version will be 22.04 if they continue with this numbering.

On the other hand, all other versions that are not LTS have fairly short support, and their goal is limited to testing new features and bug fixes.

Check Ubuntu Version Through System Settings

It is possible to know which version of Ubuntu your computer is running from the graphical interface if you’re running it in a desktop environment.

First, we need to start the Ubuntu application and open up the system settings.

Scroll to the bottom and look for the Details section and click on it.

You should now see a simple window with the basic information of the system. In it, we will be able to see, the version of Ubuntu that we are running at the moment. As you can see in the screenshot, our system is running Ubuntu 18.04.

Checking the Ubuntu OS version through the GUI

But what if we are on a server? Or the graphical interface is not available?

Check Ubuntu Version Through the Terminal

First, we’ll need to use SSH to access our server. Here’s a tutorial to remind you how to do it with PuTTY.

There are several options we can choose, some show us the version directly and others give more Ubuntu description information.

The fastest way to know the Ubuntu version you are running is by using this command line in your terminal:

lsb_release -a

The output will look similar to this:

Checking the Ubuntu System Version in the Terminal

If you are looking for a cleaner description line of what version your ubuntu is, use this command line:

lsb_release -d

The output of your Ubuntu version will look like this:

Description: Ubuntu 18.04 LTS

As a bonus, we can verify the hardware information of the equipment, by executing this command in the command line:

sudo lshw

If the command doesn’t work, you most likely have to install the list hardware utility with the following command:

sudo apt-get install lshw

Other Ways to Check Ubuntu Version Through the Terminal

There are a handful of alternative commands you can use to check your Ubuntu version. You can use:

cat /etc/lsb-release

With the version of Ubuntu looking like this:

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.4 LTS"

Or simply typing in this command:

cat /etc/issue

The output from this command will look like this:

Ubuntu 18.04.4 LTS \n \l

Conclusion

Knowing how to check which Ubuntu version you’re working on is something simple but essential. Not knowing your tools and system settings can complicate your work. We can check the Ubuntu version through the graphical interface or the terminal and both methods are quick and easy.

The Author

Author

Edward S. / @edvardasstabinskas

Edward is Hostinger's copywriter. He's an expert communicator with years of experience in IT as a writer, marketer, and Linux enthusiast. IT is a core pillar of his life, personal and professional. Edward's goal is to encourage millions to achieve an impactful online presence. He also really loves dogs, guitars, and everything related to space.

Related tutorials

Leave a reply

Comment*

Name*

Email*

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

Become a part of Hostinger now!

More in VPS
How to Install Anaconda on Ubuntu 18.04

Close