Take the 2-minute tour ×

I am following a guide to install some program in Ubuntu. It says add the following line to your source list and replace lucid with your current Ubuntu release:

deb http://tinyos.stanford.edu/tinyos/dists/ubuntu lucid main

Can you please tell me what is this release id and how can I find my Ubuntu id? Also, what happens if I use an id of an older or newer Ubuntu?


share|improve this question

2 Answers 2

up vote 2 down vote accepted

When adding external repositories to our sources we need to submit the exact Ubuntu release version to make sure that the packages are built to run on our system. For our convenience we can use the Ubuntu Code Names there. These would e.g. be

  • lucid for Ubuntu 10.04 LTS "Lucid Lynx"
  • natty for Ubuntu 11.04 LTS "Natty Narwhal"
  • oneiric for Ubuntu 11.10 "Oneiric Ocelot"
  • precise for Ubuntu 12.04 LTS "Precise Pangolin"

Unfortunately at present TinyOS only offer builds for Ubuntu up to version 11.04. Later Ubuntu versions are not (yet) supported.

share|improve this answer


lsb_release -a

The "codename" line will give you the id of your current release.

share|improve this answer
Thanks, so why I need to provide this and what happens if I put a wrong one? –  Saeid87 Sep 14 '12 at 12:11
Easier would be lsb_release -cs since it'll only return the codename. –  Timo Sep 14 '12 at 12:26

Your Answer


