How To Know Ubuntu and Unity Version [Quick Tip]

Linux Treminal LogoIn this command line tutorial we shall find answers to some very basic questions beginner Ubuntu users wonder about. For example, which Ubuntu version am I using, which Unity version is installed in my system? How to know if I am using 32 bit or 64 bit Ubuntu?

How to know Ubuntu version:

There are several methods to find the Ubuntu version in use. You can try the following command in terminal (use Ctrl+Alt+T to open it):

lsb_release -a

The out put of the above command should be like this:

Distributor ID:    Ubuntu
Description:    Ubuntu 12.10
Release:    12.10
Codename:    quantal

As you can see, the current Ubuntu installed in my system is Ubuntu 12.10 and it’s code name is Quantal. You can read this article to know about Ubuntu naming convention.

Some alternate commands to find Ubuntu version:

Alternatively, you can use either of the following commands to find Ubuntu version:

cat /etc/lsb-release
cat /etc/issue

How to know the Unity version installed in Ubuntu:

This is pretty much straight forward. It is same as to find out the version of any (read, most) installed program in Ubuntu. Use the following command:

unity --version

The output should be something like this:

unity 6.12.0

Which means I am using Unity 6 at present.

How to know if the Ubuntu installed is 32 bit or 64 bit:

Many people wonder if they are using 32 bit Ubuntu or 64 bit. To find it out, use the following command:

uname -m

You can interpret the output in the following manner:

i686 or i386 => 32 Bit

x86_64 => 64 Bit

I hope it answers your questions. If you have suggestions to improve this article, feel free to drop it in the comment section. Ciao :)

Add comment

E-mail is already registered on the site. Please use the Login form or enter another.

You entered an incorrect username or password

Sorry that something went wrong, repeat again!

11 comments

by Newest
by Best by Newest by Oldest

Can we install ubuntu 14.4 in windows 10 pre installed laptos having 32 gb ssd and 500 gd like Asus Eeebook E402SA-WX013T 14-inch Laptop (Celeron N3050/2GB/32GB/Windows 10/Integrated Graphics)

Author
Abhishek Prakash

Yes

[email protected]:~$ unity --version

Traceback (most recent call last):

File "/usr/bin/unity", line 21, in

import glib

ImportError: No module named glib

Thanks, it's working.. (y)