How to Check Your Ubuntu Version: 4 Quick and Easy Methods
Knowing your Ubuntu version is crucial when installing software, troubleshooting issues, or ensuring compatibility with specific applications. If you’re wondering, “How to check Ubuntu version?”, you’ve come to the right place! In this guide, we’ll walk you through 4 simple ways to check your Ubuntu version using both graphical and command-line methods.
Table Of Content
- π₯ Key Highlights
- π οΈ 1. Check Your Ubuntu Version Using the Terminal (Fastest Method)
- β Method 1: Use the lsb_release Command
- β Method 2: Use the cat Command
- π₯οΈ 2. Check Ubuntu Version Using the GUI (For Desktop Users)
- π 3. Check Ubuntu Version via /etc/issue File
- π‘ 4. Check Ubuntu Version Using hostnamectl
- π― Why Knowing Your Ubuntu Version is Important?
- π― Summary: Best Way to Find Your Ubuntu Version
- π Bonus: How to Check Ubuntu Kernel Version
- β Why Kernel Version Matters
- β Final Thoughts
- π Related Articles
π₯ Key Highlights:
- Learn 4 easy ways to check your Ubuntu version π
- Works for all Ubuntu versions, including desktop & server π₯οΈ
- Beginner-friendly methods with step-by-step instructions π¨βπ»
- Uses both GUI & terminal commands π
Let’s dive right in! π

π οΈ 1. Check Your Ubuntu Version Using the Terminal (Fastest Method)
The command-line method is the quickest way to find your Ubuntu version. Hereβs how to do it:
β
Method 1: Use the lsb_release Command
- Open the Terminal by pressing
Ctrl + Alt + Tπ - Type the following command and hit Enter:
lsb_release -a - Youβll see output like this:
Distributor ID: Ubuntu Description: Ubuntu 22.04 LTS Release: 22.04 Codename: jammy
The release version (e.g., 22.04) is what you need! π―
β
Method 2: Use the cat Command
If the above command doesnβt work, try this alternative:
cat /etc/os-release
This command fetches system details from the OS release file. Look for VERSION_ID and NAME.
π Why use this method? Itβs quick, works on all Ubuntu versions, and provides precise information.
π₯οΈ 2. Check Ubuntu Version Using the GUI (For Desktop Users)
If you’re using the A desktop version, you can check your OS version without the terminal.
- Click on Settings βοΈ from the application menu.
- Scroll down and select About π.
- Youβll see your version under OS Name and Version.
π― This method is best for beginners who prefer a visual interface over command-line tools.
π 3. Check Ubuntu Version via /etc/issue File
Another way to check your version is by reading the /etc/issue file:
cat /etc/issue
Example output:
Ubuntu 22.04 LTS \n \l
π Tip: This method is useful for automating scripts or checking system details remotely.
π‘ 4. Check Ubuntu Version Using hostnamectl
For server users or those using Ubuntu on a VPS, hostnamectl provides detailed system information:
hostnamectl
Example output:
Static hostname: ubuntu-server
Operating System: Ubuntu 22.04 LTS
Kernel: Linux 5.15.0-56-generic
Architecture: x86_64
β Why use this method? It provides additional details like kernel version and architecture, which can be helpful for developers.
π― Why Knowing Your Ubuntu Version is Important?

- π¦ Ensures compatibility when installing new software
- π οΈ Helps troubleshoot system errors efficiently
- π Keeps your system up-to-date with the latest security patches
If you ever face issues while upgrading Ubuntu, check out Ubuntu’s official upgrade guide for troubleshooting tips.

π― Summary: Best Way to Find Your Ubuntu Version
| Method | Best For | Command |
|---|---|---|
lsb_release -a |
Fastest & most accurate | β
lsb_release -a |
| GUI Settings | Beginners using Desktop | βοΈ System Settings β About |
/etc/issue |
Automated scripts | π cat /etc/issue |
hostnamectl |
Servers & advanced users | π hostnamectl |
π Bonus: How to Check Ubuntu Kernel Version
In addition to checking your Ubuntu OS version, you might also need to know your Linux kernel version β especially when dealing with hardware compatibility, system updates, or debugging issues.
In addition to checking your Ubuntu OS version, you might also need to know your Linux kernel version β especially when dealing with hardware compatibility, system updates, or debugging issues.
βΆοΈ Command to Check Kernel Version:
Command : uname -r
Output : 5.15.0-56-generic
This output tells you:
-
5.15.0 β Kernel version
-
56 β Patch level
-
generic β Build type for general hardware
β Why Kernel Version Matters:
-
Determines hardware support and driver compatibility
-
Crucial when installing software that depends on kernel features
-
Helps troubleshoot low-level system performance issues
β Final Thoughts
Whether you’re running a development server, learning Linux basics, or deploying cloud apps, checking your Ubuntu version is a foundational step in system management.
If you’re new to Ubuntu or want to build a career in system administration or DevOps, consider enrolling in a Linux course. Itβll help you understand essential commands, system internals, and best practices in real-world environments.
π Related Articles:
We hope this guide helps you quickly check your Ubuntu version! π Let us know in the comments which method worked best for you. ππ
