Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I downloaded the source code using the following command:

git clone git:// 

This gives me a folder named : ubuntu-precise.

But what is its version? How do I know this?

By the way my running kernel is:

#lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 12.04.4 LTS
Release:    12.04
Codename:   precise


3.8.0-38-generic #56~precise1-Ubuntu SMP Thu Mar 13 16:23:47 UTC 2014 i686 i686 i386 GNU/Linux

changelog is located at many places


So I checked in debian.master/changelog These are the first few lines:

linux (3.2.0-61.92) precise; urgency=low

  [ Kamal Mostafa ]

  * Release Tracking Bug
    - LP: #1300455

  [ Upstream Kernel Changes ]
share|improve this question
Try looking into Changelog – Danatela Apr 22 '14 at 6:05
changelog is at many places, I update my question – user2799508 Apr 22 '14 at 6:11
Probably the 3rd. – Danatela Apr 22 '14 at 6:13
the top line shows: linux (3.2.0-61.92) precise, is this the version of the source code? – user2799508 Apr 22 '14 at 6:15
Welcome to Ask Ubuntu. Please, could you put some of your time to read What should I do when someone answers my question? – Sylvain Pineau Apr 23 '14 at 7:23

It's in the first four lines of the top level Makefile:

share|improve this answer

As Sylvain says, the Vanilla version is in the Makefile. But if you want to know package version, it is better to look into changelog. It's the common Ubuntu practice.

For example, pidgin/ChangeLog:

Pidgin and Finch: The Pimpin' Penguin IM Clients That're Good for the Soul

version 2.10.9 (2/2/2014):
    * Fix problems logging into some servers including and (#15879)

From the file we can know that it's version is 2.10.9

And in your case, the linux (3.2.0-61.92) precise is the version of sources.

share|improve this answer

Your Answer


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.