How to Check Your Ubuntu Version

July 7, 2019


Ubuntu is a free, open-source Linux-based operating system, which has a long list of release versions. Finding out which Ubuntu version is running on your system can be important when troubleshooting issues or searching for installation guides.

In this tutorial, learn how to check the Ubuntu version running on your machine.

tutorial on how to check ubuntu version


  • A system running Ubuntu
  • Access to a user account with sudo or root privileges
  • A terminal window/command line (CtrlAltT)

There are two (2) simple ways to determine the Ubuntu version installed on your server. Check the version in the terminal window or use Ubuntu’s default graphical interface.

How to Check Ubuntu Version in Terminal

If you prefer using the terminal, you can determine the Ubuntu version installed on your machine in three (3) different ways.

Check Ubuntu Version with lsb_release –a Command

  1. Open the terminal (use the Ctrl+Alt+keyboard shortcut).
  2. Type in the following command and hit Enter:
lsb_release –a
screenshot of checking ubuntu version from terminal

The output displays the current version of Ubuntu. In the example seen in the image above, it is Ubuntu 18.04 (codenamed Bionic Beaver).

Check Ubuntu Version with cat /etc/lsb-release Command

Alternatively, you can use the command:

cat /etc/lsb-release
cat /etc/lsb/release

Check Ubuntu Version with cat /etc/*release Command

To get more in-depth information about the Ubuntu release, you can also use the command:

cat /etc/*release
find information about ubuntu release

Check Ubuntu Version with hostnemctl Command

Another command that also gives you information about the Ubuntu version is the hostname command:

Check Ubuntu version using hostnamectl command.

Check Ubuntu Version from Graphical Interface

You can quickly identify the Ubuntu version running on your system through the graphical interface.

1. First, select Activities in the top left corner.

2. In the search bar, enter Settings and click on the icon once it appears in the results.

find settings in ubuntu

3. In the System Settings window, click on the Details tab.

system settings details of Ubuntu

The Details section displays which Ubuntu version number you have, along with other information about your operating system.

ubuntu version details 18.04

The image above indicates that the system running on the machine is Ubuntu 18.04.2 LTS (codenamed Bionic Beaver). LTS is an acronym that stands for Long-Term Support, meaning it’s a major version supported for up to 10 years.

Other Ubuntu LTS releases include:

  • Ubuntu 20.04 (Focal Fossa)
  • Ubuntu 16.04 (Xenial Xerus) which has an end of life in April 2021
  • Ubuntu 14.04 (Trusty Tahr)


After reading this article, you should know how to check which Ubuntu version you are running. Next, explore or even update the central core of the operating system, the Linux kernel.

Was this article helpful?
Sofija Simic
Sofija Simic is an aspiring Technical Writer at phoenixNAP. Alongside her educational background in teaching and writing, she has had a lifelong passion for information technology. She is committed to unscrambling confusing IT concepts and streamlining intricate software installations.
Next you should read
How to Check Kernel Version in Linux in Command Line
June 25, 2019

The Linux kernel is much like the central brain of the operating system. Although it is the open-source meaning ...
Read more
How to List Installed Packages on Ubuntu
June 12, 2019

Having a precise list of installed packages helps system admins maintain, replicate, and reinstall systems.
Read more
How to Check CentOS Version?
April 8, 2019

There are many reasons why you should know the CentOS version you are running. For example, if you are ...
Read more
How to Check Linux Red Hat (RHEL) Version Installed On Your System
April 1, 2019

Red Hat is a popular and influential fork of the Linux operating system. Many Linux operating systems based ...
Read more
  • © 2021 Copyright phoenixNAP | Global IT Services. All Rights Reserved.