Brief: Wondering which Ubuntu version are you using? Here’s how to check Ubuntu version, desktop environment and other relevant system information.
You can easily find the Ubuntu version you are using in the command line or via the graphical interface. Knowing the exact Ubuntu version, desktop environment and other system information helps a lot when you are trying to follow a tutorial from the web or seeking help in various forums.
In this quick tip, I’ll show you various ways to check Ubuntu version and other common system information.
If you prefer videos, check out this video. If you like to see more Linux related videos, please subscribe to our YouTube channel.
How to check Ubuntu version in terminal
This is the best way to find Ubuntu version. I could have mentioned the graphical way first but then I chose this method because this one doesn’t depend on the desktop environment you are using. You can use it on any Ubuntu variant.
Open a terminal (Ctrl+Alt+T) and type the following command:
The output of the above command should be like this:
No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 16.04.4 LTS Release: 16.04 Codename: xenial
You can easily see what version of Ubuntu do I have here. The current Ubuntu installed in my system is Ubuntu 16.04 and its code name is Xenial.
Wait! Why does it say Ubuntu 16.04.4 in Description and 16.04 in the Release? Which one is it, 16.04 or 16.04.4? What’s the difference between the two?
The short answer is that you are using Ubuntu 16.04. That’s the base image. 16.04.4 signifies the fourth point release of 16.04. A point release can be thought of as a service pack in Windows era. Both 16.04 and 16.04.4 will be the correct answer here.
What’s Xenial in the output? That’s the codename of the Ubuntu 16.04 release. You can read this article to know about Ubuntu naming convention.
Some alternate ways to find Ubuntu version
Alternatively, you can use either of the following commands to find Ubuntu version:
The output of the above command would look like this:
DISTRIB_ID=Ubuntu DISTRIB_RELEASE=16.04 DISTRIB_CODENAME=xenial DISTRIB_DESCRIPTION="Ubuntu 16.04.4 LTS"
You can also use this command to know Ubuntu version
The output of this command will be like this:
Ubuntu 16.04.4 LTS \n \l
Forget the \n \l. The Ubuntu version is 16.04.4 in this case or simply Ubuntu 16.04.
How to check Ubuntu version graphically
Checking Ubuntu version graphically is no big deal either. I am going to use screenshots from Ubuntu 18.04 GNOME here. Things may look different if you are using Unity or some other desktop environment. This is why I recommend the command line version discussed in the previous sections because that doesn’t depend on the desktop environment.
I’ll show you how to find the desktop environment in the next section.
For now, go to System Settings and look under the Details segment.
You should see the Ubuntu version here along with the information about the desktop environment you are using, GNOME being the case here.
How to know the desktop environment and other system information in Ubuntu
So you just learned how to find Ubuntu version. What about the desktop environment in use? Which Linux kernel version is being used?
Of course, there are various commands you can use to get all those information but I’ll recommend a command line utility called Neofetch. This will show you essential system information in the terminal beautifully with the logo of Ubuntu or any other Linux distribution you are using.
Install Neofetch using the command below:
sudo apt install neofetch
Once installed, simply run the command
neofetch in the terminal and see a beautiful display of system information.
As you can see, Neofetch shows you the Linux kernel version, Ubuntu version, desktop environment in use along with its version, themes and icons in use etc.
I hope it helps you to find Ubuntu version and other system information. If you have suggestions to improve this article, feel free to drop it in the comment section. Ciao :)