How to Get Ubuntu Version from Terminal & GUI: Easy Steps

Get Ubuntu Version

Table of Contents

Get up to 50% off now

Become a partner with CyberPanel and gain access to an incredible offer of up to 50% off on CyberPanel add-ons. Plus, as a partner, you’ll also benefit from comprehensive marketing support and a whole lot more. Join us on this journey today!

Ubuntu is the most popular Linux operating system in the world. It’s known for its stability, security, and open-source nature. Whether you’re troubleshooting, checking software compatibility, or considering an update, knowing how to get your Ubuntu version is essential.

To see if your favorite software works with your Ubuntu, knowing your version is important. This information is also practical when you’re troubleshooting. Including the Ubuntu get version number in your online searches will help you find more precise answers on forums and blogs.

It’s simple to get Ubuntu version. You can use terminal commands or look in the settings of the Graphical User Interface (GUI).

In this guide, we’ll cover both Terminal & GUI methods to help you get Ubuntu version in just a few steps.

Checking Ubuntu Version via Terminal (CLI Method)

It’s simple to get Ubuntu version using the Terminal method, here’s why:

You can quickly get Ubuntu version using the command line, also known as the terminal. To open it, press Ctrl + Alt + T on your keyboard.

Tech Delivered to Your Inbox!

Get exclusive access to all things tech-savvy, and be the first to receive 

the latest updates directly in your inbox.

Once the terminal is open, there are several ways to check your Ubuntu version. Here are some methods:

  1. Use the lsb_release -a command
  2. Use the /etc/lsb-release or /etc/os-release command
  3. Check the /etc/issue file
  4. Use the hostnamectl command
  5. Use the lsb_release -a command
  6. The lsb_release command provides information about your Linux distribution, including details about LSB modules, the distributor’s ID, and the release number.

By adding -a to the command, you can see all available information. This method is simple and effective for quickly checking your Ubuntu version.

To begin, open your terminal and type:

lsb_release -a

Then press Enter to see the results. You should see something like this.

get-Ubuntu-version-via-terminal-CLI-commands-method-in-2025

If you prefer a simplified output, run the lsb_release -d command instead. The CLI will print your Ubuntu version details similar to the example below.

Distributor ID: Ubuntu<br>Description:    Ubuntu 22.04.3 LTS<br>Release:        22.04<br>Codename:       ram

After hitting Enter, you will find your Ubuntu version next to the Description heading, along with details about LSB modules and the distributor’s codename.

  • Distributor ID: Your Linux version (Ubuntu).
  • Description: The complete name of the version.
  • Release: The exact version number of Ubuntu.
  • Codename: The development name for this release.

Use the /etc/lsb-release or /etc/os-release command

The /etc/lsb-release command displays your Ubuntu version with the release number and description on separate lines. This command is useful for older systems.

Alternatively, you can use the /etc/os-release command, which works for Ubuntu 16.04 and newer.

Again, open your terminal and type one of the following commands, adding cat before it:

cat /etc/os-release

You will see a list of information that includes your Ubuntu get version and its release name, along with links to the Ubuntu website and helpful resources.

The hostnamectl command helps you change your system’s hostname, which is how your device is identified on a network.

We will use this command to find important details about your system, such as the Ubuntu version number.

Enhance Your CyerPanel Experience Today!
Discover a world of enhanced features and show your support for our ongoing development with CyberPanel add-ons. Elevate your experience today!

Open Terminal by pressing Ctrl+Alt+T. Enter this command:

hostnamectl

Press Enter, and you’ll see multiple lines of information, including your Operating System and Kernel versions.

Checking Ubuntu Get Version via GUI (Graphical Interface)

When beginners dive into different Linux distros like Ubuntu, the GUI is super user-friendly for them. Here are two ways to find out which version of Ubuntu you’re running using the graphical interface:

If you’re not into using the command line, you can check your Ubuntu version through the GUI settings instead. This might be a better option if you’re still getting familiar with the OS and its layout, but keep in mind it takes a bit longer.

Start by clicking on the Show Applications icon located in the bottom left corner of your screen.

get-ubuntu-version-via-GUI method-2025

Once you’re there, look for Settings. If it’s hard to spot, just type “settings” in the search bar at the top.

After that, go to the About tab on the left side. You’ll need to scroll down a bit to find it. Here, you can see your Ubuntu version listed next to the OS Name.

Alternative Tools for Displaying Linux Get Ubuntu Version

Neofetch is a great alternative tool to get Ubuntu Version number. It’s an updated version of the screenfetch Bash script. It is an elegant, aesthetically pleasing, and highly configurable command-line tool for taking screenshots of system information. It operates within a terminal window and is written in the Bash programming language.

It not only shows system details but also presents a color palette below the list of items.

To install the script on your computer, use this command:

sudo apt install neofetch -y

You can run neofetch with this command:

neofetch

Neofetch will show system information (like the Ubuntu version), a more attractive ASCII Ubuntu logo, and the available color palette.

For instance, we’re currently using Ubuntu 20.04.3 on our system. Simple as that!

Why Checking Ubuntu Get Version is Important

Verify your Ubuntu get version for important security updates, app compatibility, and performance enhancements. To ensure the most recent and secure delivery, several versions may identify and fix problems.

Updates and Security

  • Aids in spotting older distributions.
  • Guarantees quick installation of new versions, particularly if the current OS is no longer supported.
  • Highlights possible security risks in the Linux distribution.
  • Updates frequently come with bug fixes and enhancements in performance.

Compatibility

  • Assesses how well software and applications will work together.
  • Vital for hosting setups since applications often need various dependencies.

Troubleshooting and Support

  • Offers in-depth info for resolving issues.
  • Assists in pinpointing common bugs and problems.
  • Key for accurate diagnostics in customer support or online forums.

Conclusion!

You’ve got a few ways to get Ubuntu version, whether you’re into Terminal commands or prefer the graphical interface.

If you’re after quick results in the command line, type lsb_release -a or check out /etc/os-release. For the GUI fans, just head over to Settings > About.

If you’re working with servers or WSL, use SSH along with lsb_release.

Staying updated with your Ubuntu get version number is key for better security, software compatibility, and overall performance. If you’re running an older version, consider upgrading to the latest LTS release.

FAQ’s

1. How often should I check my Ubuntu version?
You only need to get Ubuntu version if you are updating to a new version, upgrading your system, or troubleshooting issues.

2. How can I upgrade my Ubuntu version?
You can upgrade using the Software Updater app or by selecting the upgrade option when Ubuntu alerts you about a new version.

3. What’s the difference between LTS and non-LTS Ubuntu versions?
Some Ubuntu version names have “LTS,” which means long-term support. LTS versions come out every two years and are supported for five years. Non-LTS versions are released every six months and have nine months of support. If you want a stable system, LTS is a good choice, but you may miss out on the latest features found in other versions.

4. Does checking my Ubuntu version number require sudo privileges?
No, you can check your version using lsb_release, /etc/os-release, and the GUI methods without needing sudo access.

Areeba Nauman
Areeba is a Content Writer with expertise in web content and social media, she can simplify complex concepts to engage diverse audiences. Fueled by creativity and driven by results, she brings a unique perspective and a keen attention to detail to every project she undertakes with her creativity and passion for delivering impactful content strategies for success. Let's connect on Linkedin: https://www.linkedin.com/in/areeba-bhatti/
Unlock Benefits

Become a Community Member

SIMPLIFY SETUP, MAXIMIZE EFFICIENCY!
Setting up CyberPanel is a breeze. We’ll handle the installation so you can concentrate on your website. Start now for a secure, stable, and blazing-fast performance!