Ask Your Question

How to add tor repository on F20 and install tor ?

asked 2014-06-05 02:01:09 -0600

candonoharm gravatar image

updated 2014-06-05 23:15:42 -0600

FranciscoD_ gravatar image

Hey everyone, I'm (obviously) new to Fedora. Since there are no tutorials that teach me basic stuff like this, here I am asking a really simple question: how do I create a file? I'm trying to follow the instructions for installing Tor and the first step is they have me create a file:

Anyways, your help is really appreciated. Thanks.

Bonus: if it's not too much, how do I edit the file, save, delete, and change the file's name? Thanks.

edit retag flag offensive close merge delete



There are lots of tutorials available online! All you need is to do is search in google "Linux basic commands" "Linux tutorial" "How to create a file in linux"

anishjp gravatar imageanishjp ( 2014-06-05 02:26:42 -0600 )edit

Please change the question title to "How to add tor repository on F20 and install tor ? " Thanks

NickTux gravatar imageNickTux ( 2014-06-05 05:22:45 -0600 )edit

"How to open a file" is too generic a question, and as @anishjp says, you can find millions of posts on the internet about it. I've changed the question to a more specific one - @NikTh.

FranciscoD_ gravatar imageFranciscoD_ ( 2014-06-05 23:16:52 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2014-06-05 05:21:30 -0600

NickTux gravatar image

updated 2014-06-07 12:46:14 -0600

Assuming you are using Fedora 20 and GNOME environment (the default in FEDORA) you can create an empty file with root privileges (admin), by executing the following command

sudo gedit /etc/yum.repos.d/torproject.repo

It will open a new empty file and there copy-paste the following content

name=Tor experimental repo

Save the file and then run

sudo yum update

In order to install tor from this repository just run

sudo yum install tor

If it asks for a fingerprint, it's the following (according the page you've posted)

3B9E EEB9 7B1E 827B CF0A  0D96 8AF5 653C 5AC0 01F1
edit flag offensive delete link more


I'd suggest not enabling tor-source repository.

hedayat gravatar imagehedayat ( 2014-06-06 01:10:42 -0600 )edit

And why is that ? Give a specific reason please. I can edit my answer and remove the tor-source repo, but an explanation is needed.

NickTux gravatar imageNickTux ( 2014-06-06 17:02:52 -0600 )edit

Because source repository is useful for someone who wants to get .src.rpm packages. Enabling a source repository permanently is almost useless, and wastes bandwidth with no benefit. Or I can say that it should be disabled, for the same reason that fedora-source repository is not enabled by default in /etc/yum.repos.d/fedora.repo. Anyway, it was just a suggestion. :)

hedayat gravatar imagehedayat ( 2014-06-07 12:38:05 -0600 )edit

Answer edited :-) . Thanks.

NickTux gravatar imageNickTux ( 2014-06-07 12:45:43 -0600 )edit

Thanks! :) (Actually I meant to change enabled=1 to enabled=0 rather than removing it altogether, but anyway it was useless for a regular user)

hedayat gravatar imagehedayat ( 2014-06-07 13:30:11 -0600 )edit

Question Tools

1 follower


Asked: 2014-06-05 02:01:09 -0600

Seen: 3,419 times

Last updated: Jun 07 '14