Close Menu
  • AI Tools
    • Claude AI
    • ChatGPT
    • Cursor AI
    • GitHub Copilot
  • Programming
    • Python
    • JavaScript
  • About
  • Contact Us
Facebook X (Twitter) Instagram
Skill Trek
Facebook X (Twitter) Instagram Pinterest
  • AI Tools
    • Claude AI
    • ChatGPT
    • Cursor AI
    • GitHub Copilot
  • Programming
    • Python
    • JavaScript
  • About
  • Contact Us
Subscribe
Skill Trek
Home»Programming»How to Check Ubuntu Version: 3 Easy Methods (Step-by-Step Guide)
Programming

How to Check Ubuntu Version: 3 Easy Methods (Step-by-Step Guide)

Md Al MamunBy Md Al MamunSeptember 4, 2026Updated:November 22, 2026No Comments6 Mins Read
Share Facebook Bluesky Threads Pinterest Twitter LinkedIn Tumblr Email
Follow Us
Facebook X (Twitter) Pinterest LinkedIn
Share
Facebook Bluesky Pinterest Threads Email Copy Link

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:

ValueDescription
NAMEOperating system name
VERSIONFull Ubuntu version
VERSION_IDUbuntu version number
VERSION_CODENAMEUbuntu 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.

MethodBest For
lsb_release -aQuickly checking your Ubuntu version
cat /etc/os-releaseGetting detailed OS information
Settings → AboutBeginners who prefer a GUI
hostnamectlChecking 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.
  • i386 or i686 — 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:

  1. Terminal: Use lsb_release -a to quickly check your Ubuntu version.
  2. OS Release File: Use cat /etc/os-release to get detailed operating system information.
  3. Ubuntu Settings: Navigate to Settings → System → About to check your version using the graphical interface.
  4. Bonus: Use hostnamectl to 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!

Share. Facebook Pinterest Telegram Bluesky Threads Email Copy Link
Previous ArticleHow to Install Ubuntu on VirtualBox in Windows 11 (Step-by-Step Guide)
Next Article How to Connect OpenCode to Roblox Studio Using MCP
Md Al Mamun
  • Website
  • Facebook
  • X (Twitter)
  • Instagram
  • LinkedIn

a full-stack developer and educator with a community of over 144,000 learners across YouTube, Udemy, and Facebook. With years of hands-on experience in building modern web applications, I specialize in making complex topics easy to understand through clear, structured explanations and real-world examples.

Related Posts

How to Call an API in Python (Step-by-Step Guide for Beginners)

November 22, 2026

How to Install OpenCode in WSL on Windows 11 (Step-by-Step Guide)

November 22, 2026

How to Install Ubuntu on VirtualBox in Windows 11 (Step-by-Step Guide)

September 4, 2026
Add A Comment
Leave A Reply Cancel Reply

Recent Posts

  • How to Install ECC Repository in Claude Code (Step-by-Step Guide)
  • How to Use Hermes AI Agent with Ollama (Step-by-Step Guide)
  • How to Call an API in Python (Step-by-Step Guide for Beginners)
  • OpenCode Skills Tutorial: From Setup to Efficient AI Agents
  • How to Add a Custom Provider in OpenCode

Recent Comments

No comments to show.

Archives

  • November 2026
  • September 2026
  • August 2026

Categories

  • AI Tools
  • Claude AI
  • Google Antigravity
  • JavaScript
  • Programming
  • Python
  • Uncategorized
Quick Access
  • Home
  • About
  • Contact Us
  • Privacy Policy
  • Disclaimer
Facebook X (Twitter) Instagram Pinterest
  • Home
  • About
  • Contact Us
  • Privacy Policy
  • Disclaimer
© 2026 SkillTrek. All Rights Preserved by Md Al Mamun.

Type above and press Enter to search. Press Esc to cancel.