Introduction

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. Also, it is essential to ensure you are not using an unsupported version if you want to keep your computer secure.

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

tutorial on checking the version of Ubuntu

Prerequisites

  • 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. Option 1 includes using Ubuntu’s default graphical interface, while Option 2 uses the terminal window. Choose the one that fits your preference.

Option 1: Check Ubuntu Version from Unity

You can easily 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

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

ubuntu version details

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 is the latest stable version.

Other Ubuntu LTS releases include:

  • Ubuntu 16.04 (Xenial Xerus)
  • Ubuntu 14.04 (Trusty Tahr)

Option 2: Check Ubuntu Version from Terminal

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

Method 1

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

check 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).

Method 2

Alternatively, you can use the command:

cat /etc/lsb-release

cat /etc/lsb/release

Method 3

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

cat /etc/*release

find information about ubuntu release

Conclusion

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.