Tor on Fedora 22

Create repository files
create file torproject.repo in /etc/yum.repos.d/ with following contents

[tor]
name=Tor repo
enabled=1
baseurl=https://deb.torproject.org/torproject.org/rpm/fc/22/$basearch/
gpgcheck=1
gpgkey=https://deb.torproject.org/torproject.org/rpm/RPM-GPG-KEY-torproject.org.asc
repo_gpgcheck=1

[tor-source]
name=Tor source repo
enabled=1
autorefresh=0
baseurl=https://deb.torproject.org/torproject.org/rpm/fc/22/SRPMS
gpgcheck=1
gpgkey=https://deb.torproject.org/torproject.org/rpm/RPM-GPG-KEY-torproject.org.asc
repo_gpgcheck=1

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/epel.repo file

create epel.repo file in /etc/yum.repos.d/ directory with following contents


[epel]
Exclude=tor

Install Tor

sudo dnf update
sudo dnf install tor
start tor service
sudo systemctl start tor

Install Tor Browser
Download tor browser