Do you want to know which version of Ubuntu is installed on your computer? Whether you’re troubleshooting a problem, installing software, following a Linux tutorial, or checking system compatibility, knowing your Ubuntu version is important.
Ubuntu releases regular updates, and different versions may support different software packages, features, and system configurations. That’s why checking your Ubuntu version can help you avoid compatibility issues and follow the correct instructions.
In this tutorial, I’ll show you 3 easy methods to check your Ubuntu version. You can use the Terminal or check it directly from the Ubuntu desktop Settings. I’ll also show you a bonus Terminal command to get additional system information.
Watch the video tutorial:
Let’s get started!
Method 1: Check Ubuntu Version Using the Terminal
The easiest and fastest way to check your Ubuntu version is by using the Terminal. You only need to run one simple command.
Step 1: Open the Terminal
First, open your Ubuntu desktop.
Press the following keyboard shortcut:
Ctrl + Alt + T
The Terminal window will open.
Step 2: Run the lsb_release Command
Now, type the following command in the Terminal and press Enter.
lsb_release -a
Ubuntu will display information about your installed operating system.
For example, you might see output similar to this:
Distributor ID: Ubuntu
Description: Ubuntu 26.04.1 LTS
Release: 26.04
Codename: noble
Let’s understand what these details mean:
- Distributor ID: Shows the Linux distribution name.
- Description: Shows the full Ubuntu version.
- Release: Shows the Ubuntu version number.
- Codename: Shows the Ubuntu release codename.
For example, if you see:
Release: 26.04
It means you’re running Ubuntu 26.04.
Tip
This is one of the quickest methods to check your Ubuntu version, especially when you’re working with the command line.
Method 2: Check Ubuntu Version Using the /etc/os-release File
Another easy way to check your Ubuntu version is by reading the /etc/os-release file.
This file contains important information about your installed Linux operating system.
Step 1: Open the Terminal
Press:
Ctrl + Alt + T
This will open the Terminal.
Step 2: Run the Following Command
Type this command and press Enter:
cat /etc/os-release
Ubuntu will display detailed information about your operating system.
For example:
NAME="Ubuntu"
VERSION="26.04.1 LTS"
ID=ubuntu
VERSION_ID="26.04"
VERSION_CODENAME=noble
Here is what the important values mean:
| Value | Description |
|---|---|
NAME | Operating system name |
VERSION | Full Ubuntu version |
VERSION_ID | Ubuntu version number |
VERSION_CODENAME | Ubuntu release codename |
For example, VERSION_ID="26.04" tells you that your installed Ubuntu version is 26.04.
This method is particularly useful when you need detailed operating system information or when running scripts that check the Linux distribution.
Method 3: Check Ubuntu Version Using Settings (GUI Method)
If you’re a beginner or don’t want to use Terminal commands, don’t worry!
Ubuntu also allows you to check your operating system version directly from its graphical user interface (GUI).
Follow these simple steps.
Step 1: Open Settings
First, open the Ubuntu application menu.
Search for Settings.
Click on the Settings application to open it.
Step 2: Open the About Section
Inside the Settings window, look for the System section.
Then select:
About
Depending on your Ubuntu version and desktop environment, the exact location or wording may be slightly different.
Step 3: Find Your Ubuntu Version
Now, look for the operating system information.
You’ll see details about your installed Ubuntu version under information such as OS Name.
For example:
Ubuntu 26.04.1 LTS
That’s it! You’ve successfully checked your Ubuntu version without using a single Terminal command.
This method is ideal for beginners who prefer using the graphical interface.
Bonus: Check Ubuntu Version Using the hostnamectl Command
There is another useful Terminal command that you can use to check your Ubuntu version.
It’s called hostnamectl.
Step 1: Open the Terminal
Press Ctrl + Alt + T to open the Terminal.
Step 2: Run the Command
Type:
hostnamectl
Press Enter.
You’ll see information about your computer, including the operating system, kernel, and system architecture.
Example output:
Operating System: Ubuntu 26.04.1 LTS
Kernel: Linux 6.x.x
Architecture: x86-64
The output may vary depending on your Ubuntu installation.
This command is useful because it provides more than just your Ubuntu version. You can also check your Linux kernel version and system architecture.
Which Method Should You Use?
All four methods are useful, but the best option depends on your requirements.
| Method | Best For |
|---|---|
lsb_release -a | Quickly checking your Ubuntu version |
cat /etc/os-release | Getting detailed OS information |
| Settings → About | Beginners who prefer a GUI |
hostnamectl | Checking OS and additional system details |
My recommendation is to use lsb_release -a if you’re comfortable with the Terminal. It’s simple, fast, and displays all the essential Ubuntu version information.
However, if you’re new to Linux, the Settings → About method is probably the easiest option.
Frequently Asked Questions (FAQs)
1. How do I check my Ubuntu version using a command?
Open the Terminal using Ctrl + Alt + T and run:
lsb_release -a
You’ll see your Ubuntu version, release number, and codename.
2. How do I check my Ubuntu version without Terminal?
Open Settings → System → About. Look for the OS Name or operating system information to find your installed Ubuntu version.
3. What is the difference between Ubuntu version and Linux kernel version?
The Ubuntu version identifies your Linux distribution release, such as Ubuntu 26.04 LTS.
The Linux kernel version identifies the specific kernel running on your system, which manages hardware, memory, processes, and other core operating system functions.
You can check both using:
hostnamectl
4. What does LTS mean in Ubuntu?
LTS stands for Long-Term Support.
Ubuntu LTS releases receive a longer support period than regular interim releases, making them a popular choice for developers, businesses, and everyday users who prefer stability.
5. How do I check whether my Ubuntu is 32-bit or 64-bit?
Open the Terminal and run:
uname -m
Common results include:
x86_64— 64-bit Intel/AMD architecture.i386ori686— 32-bit Intel architecture.aarch64— 64-bit ARM architecture.
Final Thoughts
Checking your Ubuntu version is very easy, and you don’t need any advanced Linux knowledge to do it.
In this tutorial, we’ve covered three simple methods and one bonus method:
- Terminal: Use
lsb_release -ato quickly check your Ubuntu version. - OS Release File: Use
cat /etc/os-releaseto get detailed operating system information. - Ubuntu Settings: Navigate to Settings → System → About to check your version using the graphical interface.
- Bonus: Use
hostnamectlto see your Ubuntu version along with additional system information.
Knowing your Ubuntu version is particularly useful when installing software, troubleshooting Linux issues, and following programming tutorials because some commands, packages, and features may vary between Ubuntu releases.
If you found this tutorial helpful, don’t forget to subscribe to my YouTube channel for more tutorials about Linux, programming, AI tools, and technology.
Thanks for reading, and happy learning!