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

Installing tor from its repository, not from the universe Ubuntu repository! -> Here is the instruction: (I done)

But when I run sudo apt-get install tor, it is connected to ubuntu repository! this installs the version which is located in Ubuntu repositories! I want the version which is in the below repository:

deb raring main
share|improve this question
up vote 4 down vote accepted

I think it's because both repos have the same tor version, for Ubuntu 13.04 (raring), so there's no reason to prefer one over other.

If you correctly set up the torproject repository, the output of apt-cache policy tor will tell you the available versions, from which repository they come and the candidate for installation.

share|improve this answer
hmm, yeam; I check your command and the versions are the same; However, how can I force apt-get to select torproject repository for future update? Does it always check for the newest version between both repositories to choose one of them for updating tor? – mini Jul 10 '13 at 18:18
Yes, apt will automatically choose the newest version. – papukaija Jul 10 '13 at 18:21
@deroot If the package isn't held back (look for hold in apt-mark manpage) apt-get will always try to install the newest version. – Eric Carvalho Jul 10 '13 at 18:24

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.