Technology3 min read

How To Check Your Current Ubuntu Version

Abhishek Ahlawat

By Abhishek Ahlawat — Recently

Founder of StudyTonight and a MERN fullstack developer. Writes about JavaScript, web development, Linux, and tech.

Summarize this article using AI

How To Check Your Ubuntu Version

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

  1. Open the terminal using “Show Applications” or use the keyboard shortcut [Ctrl] + [Alt] + [T].
  2. Type the command “LSB release -a” into the command line and click enter.
  3. The terminal indicates the Ubuntu version you’re running under “Description” and “Release.”

Ubuntu


Option 2: Read the contents of /etc/lsb-release

  1. Open the terminal using “Show Applications” or with the keyboard combination [Ctrl] + [Alt] + [T].
  2. Type the command “cat /etc/LSB-release” into the command line and hit enter.
  3. The terminal reveals the Ubuntu version you’re running under “DISTRIB RELEASE” and “DISTRIB DESCRIPTION.”

Ubuntu

Conclusion

We have taught you how to discover the version of Ubuntu installed on your machine.

Spotted something outdated or wrong?

Liked this? See more StudyTonight posts in Google results.

Add StudyTonight as a preferred source
Next questLIVE OPSStep 2 / 3

Practice real incidents in the browser

System Design Ops — put out fires, ship fixes, and stack XP. Reading done. Time to play.

Play System Design
  • +XP

    Every sim

  • Incidents

    Live ops

  • Ranks

    Climb up

Read next