Installing Tor

At commandline run:

export DISTRIBUTION="wheezy"
sudo pico /etc/apt/sources.list
Add following line: "deb http://deb.torproject.org/torproject.org/    wheezy  main"
gpg --keyserver keys.gnupg.net --recv 886DDD89
gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | sudo apt-key add -
apt-get update
apt-get install tor

Adding the above line to your sources.list adds the http://deb.torproject.org/torproject.org/dists/wheezy/ allowing you to download Debian applications for that distro.

When you run “apt-get update”, it will add those files to your installable packages, and you'll see the following:

Get:2 http://deb.torproject.org wheezy/main armhf Packages [3,045 B] 
Ign http://mirrordirector.raspbian.org wheezy/contrib Translation-en_GB 
Ign http://mirrordirector.raspbian.org wheezy/contrib Translation-en 
Ign http://mirrordirector.raspbian.org wheezy/main Translation-en_GB 
Ign http://mirrordirector.raspbian.org wheezy/main Translation-en 
Ign http://mirrordirector.raspbian.org wheezy/non-free Translation-en_GB 
Ign http://mirrordirector.raspbian.org wheezy/non-free Translation-en 
Ign http://mirrordirector.raspbian.org wheezy/rpi Translation-en_GB 
Ign http://deb.torproject.org wheezy/main Translation-en_GB 
Ign http://mirrordirector.raspbian.org wheezy/rpi Translation-en 
Ign http://deb.torproject.org wheezy/main Translation-en Fetched 7,247 B in 2s (2,464 B/s)