The free Ubuntu operating system is a decent alternative to Windows and macOS. The open-source system is very adaptable and comes with a choice of pre-installed apps. Programmers might further expand their programs or utilize them for creating their software projects. But of course, there will be instances when you wish to install extra apps. So how can you find out whether your favourite program is compatible with your Ubuntu operating system? The Ubuntu version you’re running will be vital information
You’ll also need to know which Ubuntu version you’re using while troubleshooting. If you mention the version number in your searches on forums and blogs, you’ll receive a more precise response to your queries. Keep reading to find out how to check your Ubuntu version.
Checking the Ubuntu version in the terminal
There are two methods to verify your Ubuntu version in the terminal. Both of them employ a simple command placed into the command line.
Option 1: Command LSB release -a
- Open the terminal using “Show Applications” or use the keyboard shortcut [Ctrl] + [Alt] + [T].
- Type the command “LSB release -a” into the command line and click enter.
- The terminal indicates the Ubuntu version you’re running under “Description” and “Release.”
Option 2: Read the contents of /etc/lsb-release
- Open the terminal using “Show Applications” or with the keyboard combination [Ctrl] + [Alt] + [T].
- Type the command “cat /etc/LSB-release” into the command line and hit enter.
- The terminal reveals the Ubuntu version you’re running under “DISTRIB RELEASE” and “DISTRIB DESCRIPTION.”
We have taught you how to discover the version of Ubuntu installed on your machine.