using the tor-network with ubuntu 9.10 (karmic koala)

the onion router a.k.a. tor is no longer part of the ubuntu repositories due to the inability of the tor-project to ensure multiple years of support. actually, that’s not so bad, because the tor developers provide an additional repository for different ubuntu versions on their own. here is the easy way to install it.

#!/bin/bash
# this script installs tor on ubuntu 9.10 (karmic koala)
# you have to run it as root

# add the repository for tor (just substitute 'karmic' if you run another version of ubuntu)
echo 'deb http://deb.torproject.org/torproject.org karmic main' >> /etc/apt/sources.list.d/torproject.sources.list

# make apt-get known to the gpg-key of the repository
gpg --recv 74A941BA219EC810
gpg --export --armor 74A941BA219EC810 | sudo apt-key add -

# resynchronize your local paket index and install tor
sudo apt-get update
sudo apt-get install tor tor-geoipdb

1. copy this script into a text editor and store it as install_tor.sh in your home directory.

2. open up a terminal and navigate to your home directory (normally you should already be there)

3. type in the following and enter.

sudo ./install_tor.sh

tor should be up and running after the installation. set the applications you like to run with tor to use

localhost:9050

as proxy. alternatively, you might use vidalia, torK or the torbutton-plugin for firefox (which by the way is extremely handy in my opinion), to control tor – they are all already in the repos. if you have a fairly decent pc, you might want to use tor in combination with a dedicated installation of ubuntu in a virtual machine like described at wiki.ubuntuusers.de. i’m testing this setup at the moment and might write about it later.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s