How to Check Your Ubuntu Version

Confirm your edition with a simple command.
Ash Ash (310)
Total time: 2 minutes 

So you've got a machine running Ubuntu. If it's been a while since you set up Ubuntu (or maybe you're just curious), you probably need to check what version you're running. This can be a useful tool for deciding whether or not it's time to update Ubuntu or just determining whether or not specific software is compatible.

Posted in these interests:
h/linux41 guides
h/ubuntu6 guides

To check your version of Ubuntu, open a Terminal window. You can use the app icon or launch it using the keyboard shortcut Ctrl + Alt + T.

In the Terminal window, enter the following line:

lsb_release -a command

Press Enter or Return. Your Ubuntu version number will be listed on the Description line.

If you're using a version more recent than 16.04, the following command will also provide your version number in Terminal:

hostnamectl

Users who make use of the GNOME desktop environment can find the current version listed under Settings. Choose the Details tab to confirm the exact version number.