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 21/22 and EL6/7 packages
For Fedora 21, Fedora 22, RHEL 6, RHEL 7 (and clones), use following repo file - substitute DISTRIBUTION with one of the following: fc/21, fc/22, el/6, el/7 according to your distribution.
[tor] name=Tor repo enabled=1 baseurl=https://deb.torproject.org/torproject.org/rpm/DISTRIBUTION/$basearch/ gpgcheck=1 gpgkey=https://deb.torproject.org/torproject.org/rpm/RPM-GPG-KEY-torproject.org.asc [tor-source] name=Tor source repo enabled=1 autorefresh=0 baseurl=https://deb.torproject.org/torproject.org/rpm/DISTRIBUTION/SRPMS gpgcheck=1 gpgkey=https://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
Name clash warning
There is identically named 'tor' package in the EPEL and Fedora repositories. Due to this unfortunate name clash, the packages might "update over one another", depending on patchversion. Solution is to use Exclude=tor line in the relevant /etc/yum.repos.d/ file.
E.g. you may exclude EPEL's Tor package by putting the mentioned exclude line under [epel] section in /etc/yum.repos.d/epel.repo.
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!