You will see a variety of techniques in this guide for determining Ubuntu’s version. Remember that Ubuntu version numbers use the format YY.MM, therefore an installation of version 22.04 was made available in April 2022. Ubuntu also employs code names, such as Jammy Jellyfish, that combine an animal name and an adjective. These are merely playful names for each release, with the YY.MM format serving as the best identifier of your Ubuntu version’s age. We also mentioned below are the steps to how to Check Ubuntu Version in 2022.
Steps to Check Ubuntu Version in 2022
Check Ubuntu Version via Command Line
Check Ubuntu Version with lsb_release Command
- Open the terminal (use the Ctrl+Alt+T keyboard shortcut).
- Type in the following command and hit Enter:
- To display only the description line, use the -d tag:
- Add the -c tag to display the codename line as well:
- Show only the release number by combining the -r and -s tags:
Check Ubuntu Version with cat /etc/lsb-release Command
- Alternatively, you can use the command:
Check Ubuntu Version with cat /etc/*release Command
- To get more in-depth information about the Ubuntu release, you can also use the command:
- The command is platform agnostic. On Ubuntu, the file’s name is os-release and the following command uses the full file name:
Check Ubuntu Version with hostnamectl Command
- Another command that also gives you information about the Ubuntu version is the hostnamectl command:
Check Ubuntu Version with cat /etc/issue Command
- The /etc/issue file contains the text which displays when a user connects via SSH. Use the cat command to fetch the contents:
- For a cleaner output, use:
Check Ubuntu Version Using screenfetch
The screenfetch utility is a Bash script for generating useful and visually pleasing OS information.
- Install screenfetch using the apt package manager:
- The installation asks for confirmation. Press Y to continue.
- When the installation completes, run the command:
Check Ubuntu Version using neofetch
The neofetch utility is a Bash script and a more modern version of screenfetch. To install and use neofetch, follow the steps below:
- Install neofetch with the apt package manager:
- Run the command:
Check Ubuntu Version via Graphical Interface
- First, select Activities in the top left corner.
- In the search bar, enter Settings and click on the icon once it appears in the results.
- In the System Settings window, click on the Details tab.
- The Details section displays which Ubuntu version number you have, along with other information about your operating system.
Final Words
We hope you like our article on how to Check Ubuntu Version in 2022. A good substitute for Windows and macOS is the open-source Ubuntu operating system. The open-source system has a wide range of pre-installed apps and is quite adaptable. Programmers can use it to implement their own software projects or to further develop its programs. However, there will inevitably be times when you want to install extra programs.