Do not use the packages in the native repositories. They are frequently out of date. That means you'll be missing stability and security fixes.
You'll need to set up our package repository before you can fetch Tor. Repositories contain i686 and x86_64 builds. Assuming yum, in /etc/yum.repos.d/, create a file called torproject.repo. Edit this file with the following information:
Fedora 17/18 and EL6 packages
For Fedora 17, Fedora 18, RHEL 6 (and clones), use following repo file - substitute DISTRIBUTION with one of the following: fc/17, fc/18 or el/6 according to your distribution.
[tor] name=Tor experimental repo enabled=1 baseurl=http://deb.torproject.org/torproject.org/rpm/DISTRIBUTION/$basearch/ gpgcheck=1 gpgkey=http://deb.torproject.org/torproject.org/rpm/RPM-GPG-KEY-torproject.org.asc [tor-source] name=Tor experimental source repo enabled=1 autorefresh=0 baseurl=http://deb.torproject.org/torproject.org/rpm/DISTRIBUTION/SRPMS gpgcheck=1 gpgkey=http://deb.torproject.org/torproject.org/rpm/RPM-GPG-KEY-torproject.org.asc
The keys's fingerprint should be (for RPM-GPG-KEY-torproject.org.asc above, yum will ask about the fingerprint):
3B9E EEB9 7B1E 827B CF0A 0D96 8AF5 653C 5AC0 01F1
Packages for RHEL 5 (and clones) are signed with different key due to old rpm limitations, put this repo file in /etc/yum.repos.d/ directory:
[tor] name=Tor experimental repo enabled=1 baseurl=http://deb.torproject.org/torproject.org/rpm/el/5/$basearch/ gpgcheck=1 gpgkey=http://deb.torproject.org/torproject.org/rpm/RPM-GPG-KEY-torproject.org.EL5.asc [tor-source] name=Tor experimental source repo enabled=1 autorefresh=0 baseurl=http://deb.torproject.org/torproject.org/rpm/el/5/SRPMS gpgcheck=1 gpgkey=http://deb.torproject.org/torproject.org/rpm/RPM-GPG-KEY-torproject.org.EL5.asc
Fingerprint of RPM-GPG-KEY-torproject.org.EL5.asc key above should be:
9D27 0E2A 351C B4CB 6D95 78AF F8E7 95F8 B4D4 03EA
Package installation and running
Once you have the repo file, install Tor using (yum will ask about the key's fingerprint the first time):
yum install tor
Start Tor using:
service tor start
Now Tor is installed and running. Move on to step two of the "Tor on Linux/Unix" instructions.
The DNS name
deb.torproject.org is actually a set of independent
servers in a DNS round-robin configuration. If for some reason you cannot
use it, you might be able to access one of the individual servers
There is a repository that contains packages for latest alpha branch of Tor. If you'd like to experiment with them, use one of the above repo files, just change the baseurl to (similarly to previous section, substitute DISTRIBUTION based on your distribution; for source rpms use "SRPMS" instead of $basearch):
If you'd like to build from source, please follow the RPM creation instructions.
If you have suggestions for improving this document, please send them to us. Thanks!