How to Check Your Ubuntu Version

Confirm your edition with a simple command.
Ash Ash (343)
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.

Note: If you're not using Ubuntu, visit this guide to check your Linux version (and distribution).

Posted in these interests:
h/linux41 guides
Ubuntu
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.

Pick your flavor of Linux.
Ash Ash (343)
0

Linux is the internet's go-to open-source operating system. With tons of flavors and editions to choose from, it can be a little intimidating to jump in.