Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I installed some version of Ubuntu on my VMware, but I don't know what version exactly it is. How can I find it out?

share|improve this question
    
Also related: askubuntu.com/questions/5675/… –  Bruno Pereira Oct 22 '12 at 8:31
add comment

11 Answers

up vote 56 down vote accepted

Your version of Ubuntu can be determined by opening System Settings and then opening the System Info or Details (from 12.04) section:

System Info screenshot

This page will also tell you whether you have the 32- or 64-bit version of Ubuntu installed, as well as what processor and graphics you have, the amount of RAM installed, and your disk capacity.

You can get this info from a terminal with the command:

lsb_release -a

Credit in part to htorque and WarriorIng64

[Note: for versions before 11.10, e.g. 11.04 this is not available this way, but see Roland's answer below for workable option (basically use the 'System Monitor' icon instead]

share|improve this answer
4  
Please also give me credit, at least for the screenshot, which I took myself and used originally in this answer. (You can verify for yourself that a large part of this answer was a direct copy-and-paste of my answer by looking at the edit logs.) –  WarriorIng64 Jul 21 '12 at 0:06
add comment

Apart from:

  • lsb_release -a and

  • cat /etc/issue ,

you can also see the version in the GNOME System Monitor (press Alt + F2, type gnome-system-monitor, and hit Enter):

enter image description here

share|improve this answer
    
It's considered bad practice to recommend commandline first when there's a GUI option. Plus, that answer is, like, six months too stale. ;P –  Jacob Johan Edwards Jan 8 '12 at 0:35
2  
The user asked for a terminal command. Providing a GUI answer is a bonus, not a priority. :) –  htorque Jan 8 '12 at 8:47
    
no longer relevant. The tab has been removed. –  Akiva Apr 14 at 20:37
add comment

In Ubuntu 11.10 onwards, the version of Ubuntu installed can be found by entering System Settings > System Info:

System Info screenshot

This page will also tell you whether you have the 32- or 64-bit version of Ubuntu installed, as well as what processor and graphics you have, the amount of RAM installed, and your disk capacity.

share|improve this answer
1  
Perhaps this answer got hijacked by the top answer at some point - but isn't this now just an exact duplicate of the top answer? –  icc97 Jul 17 '12 at 16:54
2  
@icc97 Thanks for letting me know. My answer apparently did get "hijacked" (in fact, I made this screenshot myself and it was just taken for the other answer's edit). –  WarriorIng64 Jul 21 '12 at 0:03
1  
Duly upvoted yours and removed my upvote for the other, pretty shocking behaviour –  icc97 Jul 21 '12 at 13:28
add comment
$ lsb_release -r
Release:        10.04
$ lsb_release -c
Codename:       lucid
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 10.04.2 LTS
Release:        10.04
Codename:       lucid
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04
DISTRIB_CODENAME=lucid

"LSB" means Linux Standard Base. It is a joint project of several Linus distributions. It's goal is to develop and promote a set of open standards that will increase compatibility among Linux distributions.

share|improve this answer
add comment

Quite a few ways -

In command line:

  1. lsb_release -a ▸ exact release name, version etc.
  2. cat /etc/issue ▸ formal release name
  3. cat /etc/issue.net ▸ cleaner version of previous one
  4. cat /etc/debian_version ▸ will give you the Debian code name
  5. cat /proc/version ▸ will give you quite a lot of info about your kernel, when was it compiled, which gcc version has been used etc.
  6. uname -a ▸ will tell you about your kernel info, plus arch (i386 ▸ 32 bit, x86_64 ▸ 64 bit)

If you like GUI more than command line, the System page on "System Monitor" gnome-system-monitor application should give you more than enough info. Release name, architecture variant, cores in the system, RAM available, and the space available on the root file system.

enter image description here

share|improve this answer
add comment

The command to find ubuntu version is,

lsb_release -a

or

cat /etc/lsb-release

or

System > About Ubuntu

share|improve this answer
add comment

You can check it via command line.

  1. Open a Terminal by pressing CTRL+ALT+T.

  2. Type:

    lsb_release -a
    

    and press Enter.

  3. The Ubuntu version is displayed on the 'Description:' line.

For more details, see here.

share|improve this answer
    
Will this command differentiate the alpha/beta/prod release? –  devav2 Oct 22 '12 at 8:24
add comment

To find this information graphically, open the system monitor. The information you want is on the first tab: (NB: You cannot tell what stage of development it is at!) enter image description here

Also note mine is not saying "development branch", so the best way to tell what state your system was at when you installed it, is to know what you download :)!

share|improve this answer
add comment

There are GUI ways of checking but I prefer the Terminal.

To check your Ubuntu version using the command line:

  1. Open a Terminal by pressing Ctrl+Alt+T.
  2. Type: lsb_release -a and press Enter.

The Ubuntu version is displayed on the 'Description:' line.

References:

Identifying the version of Ubuntu you are using.

share|improve this answer
add comment

Another way, from 2 starting points:

  1. From the web browser’s address bar: ghelp:about-ubuntu
  2. Run this command (Alt + F2): gnome-help ghelp:about-ubuntu

Both of them have the same effect as using the Main menu > System > About Ubuntu. They open the “Display application and GNOME system help” in a page giving the same information such as https://help.ubuntu.com/10.04/about-ubuntu/C/index.html (in the language in which you are using Ubuntu)

share|improve this answer
add comment

This works for most of the linux distros.

cat /etc/issue

Run this in a shell.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.