How to know ubuntu version
How to know ubuntu version
How To Check Ubuntu Version Details and Other System Information
Brief: Wondering which Ubuntu version you’re using? Here’s how to check your Ubuntu version, desktop environment and other relevant system information.
To check the Ubuntu version, use the following command in terminal:
This will show you some details about your distribution including Ubuntu version:
Distributor ID: Ubuntu
Description: Ubuntu 20.04 LTS
Release: 20.04
Codename: focal
There are other ways to find the Ubuntu version that have been discussed in detail in this article.
You can easily find the Ubuntu version you’re using via either the command line or the graphical interface. Knowing the exact Ubuntu version, desktop environment and other system information helps a lot when you’re trying to follow a tutorial from the web or seeking help on forums.
In this quick tip, I’ll show you various ways to check your Ubuntu version and other common system information.
How to check Ubuntu version in the terminal
This is the best way to find your Ubuntu version. I could have mentioned the graphical way first, but I chose this method because it doesn’t depend on the desktop environment you’re using. You can use it on any Ubuntu variant. You can use it to check Linux Mint version, Fedora version or any other distribution you are using.
Open a terminal (Ctrl+Alt+T) and type the following command:
The output of the above command should look like this:
You can easily see what version of Ubuntu 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 Release? Which one is it, 16.04 or 16.04.4? What’s the difference between the two?
The short answer is that you’re using Ubuntu 16.04. That’s the base image. 16.04.4 means it’s the fourth point release of 16.04. A point release can be thought of as the Linux equivalent of a Windows service pack. So both 16.04 and 16.04.4 are correct answers to this question.
What’s Xenial in the output? That’s the codename of the Ubuntu 16.04 release. You can read this article to find out about Ubuntu naming conventions.
Recommended Read:
How To Know If You Have 32 Bit or 64 Bit Computer in Linux and Windows
Easily find out if you have 32 bit CPU or 64 bit and if you are running 32 bit or 64 bit Ubuntu.
Some alternate ways to find the Ubuntu version
Alternatively, you can use either of the following commands to find your Ubuntu version:
The output of the above command looks like this:
You can also use this command to get your Ubuntu version:
The output of this command will be like this:
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 your Ubuntu version graphically is no big deal either. I’m going to use screenshots from Ubuntu 18.04 GNOME here, but things may look different if you’re using Unity or some other desktop environment. I recommend the command line versions discussed in the previous sections because they don’t depend on the desktop environment.
The next section will show you how to find the desktop environment.
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 find out the desktop environment and other system information in Ubuntu
So, you just learned how to find your Ubuntu version. But what about other information? Which desktop environment are you using? Which Linux kernel version is being used?
Of course, you can use various commands to get all that information, but I recommend a command line utility called Neofetch. This will show you essential system information in the terminal, accompanied by the ascii logo of the Linux distribution you are using.
Install Neofetch using the command below:
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 and its version, themes and icons in use, etc.
I hope this helps you find your Ubuntu version and other system information. If you have suggestions for improving this article, feel free to drop them in the comment section. Ciao 🙂
Creator of It’s FOSS. An ardent Linux user & open source promoter. Huge fan of classic detective mysteries ranging from Agatha Christie and Sherlock Holmes to Detective Columbo & Ellery Queen. Also a movie buff with a soft corner for film noir.
How to check Ubuntu version in bash
Find Ubuntu version using system setting:
The following dialog box will appear. It will show the installed Ubuntu version with other details such as memory, processor, OS type, disk, etc. when the “About” tab is selected.
Find Ubuntu version using the command:
Press “Alt+Ctrl+T” to open the terminal. Run the following command from the terminal to get the information about the installed Ubuntu version and other details such as Distributor ID, Codename, Release, etc.
If you want to know only the Ubuntu version by using lsb_release command, then you have to use the option -d like the following command. It will only display the description information that contains the Ubuntu version.
There is another command to find out the Ubuntu version with other details. The command is hostnamectl. This command is mainly used for setting hostname, but you can check the Ubuntu version also by using this command. Run the command from the terminal. The Ubuntu version information will display in the value of the Operating System. It also displays other details like hostname, Machine ID, Boot ID, Kernel, Architecture, etc.
Find Ubuntu version by opening a file:
If you want to know only the version of Ubuntu, then you can run the following command from the terminal to open the content of the “issue” file.
If you want to know the details about the installed version of Ubuntu, then you can run the following command to open the content of the file, “os-release“. It will show other details like HOME_URL, SUPPORT_URL, BUG_REPORT_URL, UBUNTU_CODENAME, etc. with the Ubuntu version.
Find Ubuntu version using Neofetch:
Neofetch is a command-line utility application to show detailed information about the installed version of Ubuntu. It is not installed in the system by default. So, you have to run the following command from the terminal to install this application.
After installing the application successfully, run the following command to show the detailed information about the installed Ubuntu with a text-based graphical look. It shows more details about the system with the version information of running the operating system.
Ubuntu version information is shown by OS. You can also get hardware and software details about the operating system by this application such as, for how many times your operating system is on by uptime, processor information by CPU, RAM information by Memory, bash version information by Shell, etc. So, it is a very useful application to know details about the operating system.
Conclusion:
This article shows different ways to check the Ubuntu version with other details of the operating system. The users can follow any way shown in this article to find out Ubuntu version details based on their requirements.
About the author
Fahmida Yesmin
I am a trainer of web programming courses. I like to write article or tutorial on various IT topics. I have a YouTube channel where many types of tutorials based on Ubuntu, Windows, Word, Excel, WordPress, Magento, Laravel etc. are published: Tutorials4u Help.
Как проверить версию Ubuntu
Когда вы впервые входите в систему Ubuntu, прежде чем выполнять какую-либо работу, всегда полезно проверить, какая версия Ubuntu запущена на машине.
Новые выпуски Ubuntu выходят каждые шесть месяцев, а выпуски LTS (долгосрочная поддержка) — каждые два года. Версии LTS поддерживаются в течение пяти лет как на настольных компьютерах, так и на сервере, другие стандартные выпуски поддерживаются в течение девяти месяцев.
В этом руководстве мы покажем вам, как найти свою версию Ubuntu с помощью командной строки или из графического интерфейса.
Как проверить версию Ubuntu из командной строки
Есть несколько команд, которые вы можете использовать, чтобы узнать, какую версию Ubuntu вы используете.
Утилита lsb_release отображает информацию LSB (Linux Standard Base) о дистрибутиве Linux.
Предпочтительный метод проверки вашей версии Ubuntu — использовать утилиту lsb_release которая отображает информацию LSB (Linux Standard Base) о дистрибутиве Linux. Этот метод будет работать независимо от того, какую среду рабочего стола или версию Ubuntu вы используете.
Выполните следующие действия, чтобы проверить версию Ubuntu из командной строки:
Откройте свой терминал с помощью Ctrl+Alt+T или щелкнув значок терминала.
Ваша версия Ubuntu будет показана в строке описания. Как видно из вывода выше, я использую Ubuntu 18.04 LTS.
Результат должен выглядеть примерно так:
Кроме того, вы также можете использовать следующие команды, чтобы проверить свою версию Ubuntu.
Проверьте версию Ubuntu с помощью файла /etc/issue
Файл /etc/issue содержит текст идентификации системы. Используйте команду cat для отображения содержимого файла:
Результат будет выглядеть примерно так:
Проверьте версию Ubuntu с помощью файла /etc/os-release
/etc/os-release — это файл, содержащий идентификационные данные операционной системы. Этот файл можно найти только в более новых версиях Ubuntu под управлением systemd.
Этот метод будет работать, только если у вас Ubuntu 16.04 или новее:
Результат будет выглядеть примерно так:
Проверьте версию Ubuntu с помощью команды hostnamectl
hostnamectl — это команда, которая позволяет вам установить системное имя хоста, но вы также можете использовать ее для проверки вашей версии Ubuntu.
Эта команда будет работать только в Ubuntu 16.04 или более новых версиях:
Проверьте версию Ubuntu на рабочем столе Gnome
Gnome — это среда рабочего стола по умолчанию в Ubuntu 18.04 (Bionic Beaver). Предыдущие версии Ubuntu использовали Unity в качестве среды рабочего стола по умолчанию.
Выполните следующие действия, чтобы проверить свою версию Ubuntu, если вы используете Gnome:
В окне настроек системы перейдите на вкладку Details :
Ваша версия Ubuntu будет отображаться под оранжевым логотипом Ubuntu.
Выводы
Если вы используете Ubuntu 16.04 и хотите перейти на Ubuntu 18.04, проверьте следующие инструкции:
Не стесняйтесь оставлять комментарии, если у вас есть вопросы.
How to check your Ubuntu Version?
Ubuntu is a popular open-source operating system. It is used widely by Linux lovers, and Its Gnome feature gives it a new edge to make it popular amongst other open-source systems.
When we open ubuntu, a question comes to mind, what version of ubuntu am I using? and then we start searching to know the version details.
In this article, we will learn to check the version of your current installed ubuntu. So, let’s start by exploring.
Check Ubuntu Version using Gnome Graphics
It is one of the simplest ways to check the version, just go to the top corner of the desktop and click, and then select settings.
After selecting settings, the following screen will be shown, click on the about section in the left menu, and it will show all the details of our current system.
Check Ubuntu Version using hostnamectl command
The hostnamectl command can be used to check the current Ubuntu version as it returns all the details related to hostname settings.
Check Ubuntu Version using lsb_release command
The lsb_release command can be used to get the Ubuntu version. It returns distribution information of the operating system. Here, -a is used to print all the information.
If we want to get only single-line information then use -d option with this command.
Check Ubuntu Version using cat /etc/issue command
The cat command is used to display the content of a file. Here, we are using it to display the content of the /etc/issue file that contains system identification text.
Check Ubuntu Version using cat /etc/os-release command
If you are using the latest version of ubuntu 16 or higher, this command works for you. The os-release file contains information related to the operating system and its release.
Conclusion
In this article, we learned how to know and get the Ubuntu version. We used Gnome graphics, lsb command, os-release, /etc/issue, etc files. I hope after reading the article, you can easily get your system version.
How To Check Ubuntu Version
There are couple of ways to check which version of Ubuntu you are running. Also which version of Linux kernel and is it 32 bit or 64 bit. Also I will give you couple of more terminal commands that will print some useful system info. Most of those commands can be used on other distribution as well.
Check Ubuntu version from GUI
Here are the steps to achieve the task:
1. Click on Settings menu either from top right menu or from button in left bar.
2. This will open System Settings dialog window.
3. Click on Details icon which is in the System category. Look into screen shot for more details.
4. This will open System Version Dialog where you can see which version of Ubuntu are you running. Also you will be able to see processor, RAM, HDD and whatever you run 32 or 64 bit version of Ubuntu.
Check Ubuntu version from terminal
Above commands give you detail information about Ubuntu version. There are couple of more commands that do the similar task.
As you probably know Ubuntu is based on Debian. Here is the command to check Debian version which is based on.
Some other useful commands to check system info
How to check whether a given Linux is 32 bit or 64 bit. And the easiest way is.
How to find the kernel version running.
Other useful command is lscpu which displays information on CPU architecture.
Thanks for sharing this information, Can you please provide me some info about upgrading current version to 14.04 LTS for desktop and server? Current version is 10.04.1 LTS (lucid). Thanks