13

For any given version or installation of Linux Mint, how would I find out which version of Ubuntu it is based on? I'm sure it must be in documentation somewhere right?

  • Is there a file with release in its name in /etc/, something like /etc/*release*? Maybe there is something useful in it. – mnille Mar 16 '16 at 14:10
  • 1
    There's a Wikipedia page with a handy chart – Stack Underflow Feb 23 at 0:17
16

You'll find Ubuntu version in the /etc/upstream-release/lsb-release file:

$ cat /etc/upstream-release/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty

To figure out which subrelease you are using, you need to know what kernel you are running, e.g. here kernel 3.19:

$ uname -r
3.19.0-32-generic

Then you compare it with the 14.04.x Ubuntu Kernel Support schedule which says that in my case, the 3.19 kernel matches 14.04.3.

  • Awesome! I was hoping to find out about something just like this! – still_dreaming_1 Mar 16 '16 at 14:43
  • How specific is this information? I am trying to install a driver that says it was designed for 14.04.2 LTS, but my lsb-release file says I am on 14.04. There is also a DISTRIB_DESCRIPTION line that says "Ubuntu 14.04 LTS". Does that mean I have a version just before 14.04.2, or is it just not specific enough to show the last decimal point version number? – still_dreaming_1 Mar 16 '16 at 14:48
  • Answer updated with a method to verify it. – jlliagre Mar 16 '16 at 15:02

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.