0

I downloaded the source code using the following command:

git clone git://kernel.ubuntu.com/ubuntu/ubuntu-precise.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

Also:

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

./arch/arm/lib/changebit.S
./debian.master/changelog.historical
./debian.master/changelog
./drivers/staging/rtl8192u/changes
./ubuntu/omnibook/debian/changelog

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 ]
0

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

1 VERSION = 3
2 PATCHLEVEL = 2
3 SUBLEVEL = 55
4 EXTRAVERSION =
|improve this answer|||||
0

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):
    XMPP:
    * Fix problems logging into some servers including jabber.org and
      chat.facebook.com. (#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.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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