4

I would like to know how to get the long Ubuntu based version in Elementary OS

Output of lsb_release -a -u:

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 14.04 LTS
Release:    14.04
Codename:   trusty

And lsb_release -a :

No LSB modules are available.
Distributor ID: elementary OS
Description:    elementary OS Freya
Release:    0.3.2
Codename:   freya

As you can see none of the commands have the long Ubuntu version (like 14.04.3)

  • sorry, what do you mean " long Ubuntu version " ? apart from 14.04 – Ravan Jan 14 '16 at 2:49
  • @Ravan I mean like 14.04.3 – Suici Doga Jan 14 '16 at 3:10
  • what is -u option? I haven't know that. can you please let me know where can I find its description. – Ravan Jan 14 '16 at 6:35
  • -u = Upstream – Suici Doga Jan 14 '16 at 7:39
  • I can think of a way for you to see the "long" version, but it helps if you tell where are you going to use this info. Just curiosity or are you creating some kind of script that needs to know the version? – Thiago Jedi Jan 14 '16 at 20:56
4

I found that running uname -v outputs the long Ubuntu based version. Here's the output of it : 49~14.04.1-Ubuntu SMP Thu Dec 31 15:44:49 UTC 2015

  • This is not the case anymore (at least in Loki). uname -v prints #57-Ubuntu SMP Tue Sep 6 15:42:33 UTC 2016. – Daniel Le Oct 9 '16 at 4:42
  • @DanielLe Yes , it seems not work work on my laptop running Loki (it did in Freya) – Suici Doga Oct 9 '16 at 6:58

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.