How to install the Tor and Tor Browser repository on Fedora

Update: This repository has been discontinued. Please download the Tor Browser Bundle from the Tor Project website. I apologise for any inconvenience.

The jamielinux-tor repository contains the latest Tor software for Fedora 17 and Fedora 18, as well as the latest Tor Browser. All packages are signed with this GPG key. (Your author also maintains the Tor packages for Fedora EPEL.)

Enable this repository by installing jamielinux-tor-release.noarch.rpm. The tor-browser-selinux package is optional but recommended for additional SELinux protection.

yum install ./jamielinux-tor-release.noarch.rpm
yum install tor tor-browser tor-browser-selinux
systemctl enable tor.service
systemctl start tor.service

The default port for the Tor Browser is 9150, so if you can't connect, open the Tor configuration file (/etc/tor/torrc), comment out all lines that begin with SocksPort and restart Tor. Alternatively, add the following line:

SocksPort 9150

Also see here for more information.

The tor-browser package is based on the firefox package for Red Hat Enterprise Linux 6. The scripts used to generate the SRPM package can be found on Gitorious.

You can optionally use Vidalia to control Tor. First install it by running yum install vidalia. Vidalia requires the Tor Control Port to be enabled. Edit /etc/tor/torrc and uncomment the ControlPort line so that it doesn't start with a # character:

ControlPort 9051

Restart Tor by running systemctl restart tor.service. Finally, restart Vidalia and you can now use it to control your Tor instance. It's wise to set some password authentication for the Tor Control Port. See man tor for more information.


LG | Jan 17, 2013

Any reason this couldn't be in official Fedora repos one day?

Jamie Nguyen | Jan 17, 2013

Having it in official Fedora would be very cool. The extensions would have to be put into separate packages for a start, but I'm not actually sure if anything else needs to be done. FESCo declared that forks are fine. I'll probably look into it some more in the near future.

Hannu | Jan 17, 2013

Theres are many choises of anonymizing fedora. Tor is not the only software theres are many softwares choose from. Onion routing is not the best, i recommend proxy service.

Jamie Nguyen | Jan 17, 2013

Proxy services are pretty inadequate for protecting anonymity. They have a record of your IP address and can view all unencrypted traffic.

rice india | Jan 26, 2013

So then i always wonder what can the average computer user do in order to protect his system against computer pirates who spy in order to get advantage.

Akshay Vyas | Jan 26, 2013

Nice Work, it would be nice to see tor-browser and tor-browser-selinux in official Fedora rep, installing now and i got a warning from yum saying ublic key for tor- is not installed

warning: /var/cache/yum/i386/18/jamielinux-tor/packages/tor- Header V4 RSA/SHA512 Signature, key ID 00662aa6: NOKEY
Public key for tor- is not installed

Jamie Nguyen | Jan 26, 2013

@Akshay: jamielinux-tor-release.noarch.rpm installs a GPG key to /etc/pki/rpm-gpg/RPM-GPG-KEY-jamielinux. Re-install the package if this file is not present. When installing a package from the repository for the first time, yum will ask if you want to import this GPG key, or you can manually import GPG keys with rpm --import.

Dag | Apr 16, 2013

How does tor-browser-selinux work?  The package doesn't really contain anything:

> rpm -ql tor-browser-selinux

Jamie Nguyen | Apr 16, 2013

@Dag: The tor-browser-selinux package enables SELinux protection in the scriptlets that run after installation/uninstallation.

Dag | Apr 20, 2013

I see, thanks!

> rpm -q --scripts tor-browser-selinux

Pat | May 18, 2013

I couldn't change the ip address, or see the tor interface standalone outside the browser : \

Jamie Nguyen | May 19, 2013

@Pat: Sorry, I'm not sure what you mean. Can you send me an email and I'll try to see what the problem is.

Gareth | Jun 17, 2013

Jamie, thank you very much for your time and effort.

massy | Nov 23, 2013

At the first step, I saw this error(wget... )

ERROR: certificate common name `' doesn't match requested host name `'.
To connect to insecurely, use `--no-check-certificate'.
Unable to establish SSL connection.

akbar | Nov 29, 2013

torbrowse can not run on fedora 20

F20user | Dec 08, 2013

This is now obsolete as of F20 since tor, tor-arm and vidalia are included in latest version on F20, am I right?
Torbrowser is still missing from official repos, should I manually install it?

Fedora 20 | Dec 22, 2013

tor not install on F20 ?!?!

obedullah | Mar 28, 2014

I am getting following error when running below command in fedora20

yum install tor tor-browser tor-browser-selinux

Loaded plugins: langpacks, refresh-packagekit [Errno 14] HTTP Error 403 - Forbidden

please help me if any??

Jamie Nguyen | March 28, 2014

Hi everyone. The bad news is that this repository has been discontinued. The good news is that you can easily download the Tor Browser Bundle from the Tor Project website.

Comments are now closed.