How to Check Your Ubuntu Version (Terminal and Settings)
Knowing which version of Ubuntu you are running is important when you install software, follow a tutorial, or ask for help. Different Ubuntu versions have different packages, different desktop features, and different support periods. Fortunately, checking your Ubuntu version takes less than a minute, either in the terminal or in the graphical Settings app.
This guide shows you several ways to check your Ubuntu version, explains what the version numbers mean, and helps you find related system information, such as your kernel version and desktop environment. It also covers what to do if a command does not work, or if you are using a server without a graphical interface.
Method 1: Check Ubuntu Version in Settings
Step 1: Click the Activities button or the grid icon in the top-left corner, and open Settings. You can also click the system menu in the top-right corner and choose Settings.
Step 2: Scroll down in the left sidebar and click About. This page shows your device name, memory, processor, graphics, and operating system information.
Step 3: Look for OS Name or Ubuntu version. You will see something like Ubuntu 24.04.1 LTS, or Ubuntu 22.04 LTS. The first number is the year, the second is the month, and LTS means Long Term Support.
This method is the easiest if you are new to Linux, because it does not require the terminal. It also shows useful hardware information in the same place, which is helpful when you are checking compatibility.
Method 2: Check Ubuntu Version in the Terminal
Step 1: Open a terminal. Press Ctrl, Alt, and T together, or search for Terminal in Activities and open it.
Step 2: Type the following command and press Enter: lsb_release -a. This command prints the distributor, description, release, and codename for your Ubuntu installation.
Step 3: Read the output. The Description line usually shows the full version, such as Ubuntu 24.04.1 LTS, and the Release line shows the version number, such as 24.04. The Codename line shows the release name, such as noble for Ubuntu 24.04.
Step 4: If you want only the version number, use a shorter command: lsb_release -r. This prints just the release number, which is useful in scripts or when you need to copy the version quickly.
Other Terminal Commands to Check Your Version
Another useful command is: cat /etc/os-release. This reads a system file that contains the operating system name, version, and ID. It works on most modern Linux distributions, not only Ubuntu, and it is a good fallback if lsb_release is not installed.
To check only the version ID, use: grep VERSION_ID /etc/os-release. To see your kernel version, use: uname -r. The kernel version is different from the Ubuntu version, but it is often asked for when troubleshooting hardware or driver problems.
To check your desktop environment version, such as GNOME, use: gnome-shell –version, if you use GNOME. For other desktops, check the About page in Settings, or search for the desktop name in the terminal help.
What Ubuntu Version Numbers Mean
| Part | Meaning | Example |
|---|---|---|
| Year | Year of release | 24 in 24.04 |
| Month | Month of release, usually 04 or 10 | 04 in 24.04 |
| LTS | Long Term Support, supported for 5 years | Ubuntu 24.04 LTS |
| Point release | Minor update, such as .1, .2, or .3 | 24.04.1 |
Ubuntu releases a new version every six months, in April and October. LTS versions are released every two years and are supported for five years, which makes them a good choice for most users and for servers. Interim releases are supported for only nine months, so they are better for users who want the newest features and are comfortable upgrading often.
Check Ubuntu Version on a Server Without a Desktop
On a server, you will not have a graphical Settings app, so use the terminal commands above. Log in via SSH or directly at the console, then run lsb_release -a or cat /etc/os-release. Both commands work over SSH and do not require a desktop.
If lsb_release is not installed, you can install it with: sudo apt update and sudo apt install lsb-release, then run the command again. Alternatively, use cat /etc/os-release, which does not require any extra package.
Common Problems and Fixes
If lsb_release -a says command not found, install the lsb-release package, or use cat /etc/os-release instead. If Settings does not show a version, make sure you are looking at the About page, not the general Settings page, and that your system is up to date.
If two commands show slightly different versions, such as 24.04 and 24.04.1, that is normal. The first is the major release, and the second is a point release with updates included. For most purposes, either value is correct, but use the full point release when reporting a bug or asking for help.
For related operating system guidance, see our guides to enabling Stereo Mix on Windows and MBR vs GPT, which cover Windows audio settings and disk partition styles that are relevant when you dual-boot Ubuntu with Windows.
Frequently Asked Questions
How do I check my Ubuntu version in the terminal?
Open a terminal with Ctrl, Alt, and T, then type lsb_release -a and press Enter. The output shows the Ubuntu description, release number, and codename. For only the release number, use lsb_release -r.
How do I check my Ubuntu version without the terminal?
Open Settings, scroll down and click About. The About page shows your Ubuntu version, device name, memory, processor, and graphics information, without needing any terminal commands.
What is the difference between Ubuntu LTS and interim releases?
LTS releases are supported for five years and are released every two years, while interim releases are supported for nine months and are released every six months. LTS is best for most users and servers, while interim releases are best for users who want the newest features.
How do I check my kernel version on Ubuntu?
Open a terminal and type uname -r, then press Enter. The output shows your kernel version, which is different from your Ubuntu version, but is often needed for hardware and driver troubleshooting.
What does Ubuntu 24.04 mean?
Ubuntu 24.04 means the release from April 2024, because 24 is the year and 04 is the month. Ubuntu 24.04 LTS is a Long Term Support release from April 2024, supported for five years, with point releases such as 24.04.1 adding updates.
Conclusion: Check Before You Install or Upgrade
Checking your Ubuntu version is a small habit that saves a lot of time. Before you install new software, follow a tutorial, or report a problem, take a moment to confirm whether you are on an LTS release or an interim release, and whether you need a point release update. That information helps you choose the correct package, avoid instructions written for a different version, and give support forums the details they need to help you quickly. Whether you prefer the Settings app or the terminal, both methods take less than a minute, and both give you the same core answer. Make version checking part of your routine, especially before major upgrades, and keep a note of your version alongside your hardware details for future reference.
Bookmark this guide, so you can find the right command quickly whenever a new Ubuntu release, tutorial, or support request asks for your version.
[…] How to Check Your Ubuntu Version (Terminal and Settings) […]
[…] How to Check Your Ubuntu Version (Terminal and Settings) […]
[…] How to Check Your Ubuntu Version (Terminal and Settings) […]
[…] good idea to check your Ubuntu version first, so you know which repository to use. See our guide to how to check your Ubuntu version (Terminal and Settings) if you are not sure which version you are […]