Quote:
Originally Posted by repo
you need to add these lines to /etc/apt/sources.list
then run
Code:
sudo apt-get update
sudo apt-get install tor
|
That won't work. First of all, itbod added the name of the package to the repository (deb
http://mirror.noreply.org/pub/tor dapper main), which I'm pretty sure isn't a proper name for a repository. Second of all, it's in the universe repository, not main. Also, given 9.04 (jaunty?) is being used, I think that installing a dapper version of tor would not be wise.
In searching the
http://packages.ubuntu.com site, I found the
this information about tor in Ubuntu. So, it's not available in 9.04, apparently (which is odd, because it is available in the latest Debian.) But, you may be able to install it from the previous (8.10) release. I suggest you try adding the following to your /etc/apt/sources.list (this is a mirror from the UK):
Code:
deb http://www.mirrorservice.org/sites/archive.ubuntu.com/ubuntu/ intrepid universe
I only put universe in the above. You may need to add main, as well, but try with just universe first.
While you're editing your sources.list, you may as well enable the universe repositories of your current release as well (see
Ubuntu repositories command-line help.) In brief, just remove the "#" sign from in front of the jaunty universe repository.
Briefly, to add repositories, do the following:
Code:
sudo nano /etc/apt/sources.list
This will open nano, a command line editor. Simply add the repository I mentioned above in this terminal editor, and then close the editor with the Ctrl-X keys (note: if you prefer gedit to nano, then entering "sudo gedit" from a terminal should open this, or using the program gksu to open gedit would also work -- this sudo stuff being necessary to do because sources.list is a protected file, so you need to have sudo privileges, when using either nano or gedit, to edit it). Or if there's a root/administrator editor option somewhere in the choices that Ubuntu gives, then use that.
After doing this, then do "sudo apt-get update". You should see that the package tor is available. Now try installing it with "apt-get install tor" (note, it may not install due to it being from a previous release, but try and see first).
If not, you could also try to install it from a debian 5.0 repository (IE, install it, and then remove the repository from your sources.list). It is available in the latest stable debian. But, I do feel your best bet is to try from Ubuntu 8.10 first (rather than from dapper, which I think is a far earlier version).