25

In Ubuntu 13.04 I used to use the ppa:upubuntu-com/tor64 PPA to install the 64-bit Tor Browser Bundle. However, in Ubuntu 13.10 it doesn't work anymore.

How do I install the Tor Browser Bundle in Ubuntu?

  • 7
    Beware of using unofficial PPAs. There is no official PPA which would allow you to automatically update the Tor Browser Bundle in Ubuntu. Such solutions are made by third parties. In fact, the currently accepted answer contains a PPA with an outdated Tor Browser Bundle! It's several updates behind. – king_julien Jan 15 '14 at 10:43
  • 1
    To add to that, I would be easy for n$A to infect that unofficial PPA. In other words, it makes no sense using Tor if you use an unofficial PPA. BTW, n$A has already successfully infected Tor in the past. – don.joey Feb 13 '14 at 8:52
  • Use tar xvf instead of tar -xvJf – Chai T. Rex Mar 23 '17 at 10:40
1

Note: This PPA hasn't been updated in YEARS already (since 2015) is several updates behind the official Tor Browser Bundle release.

  1. Run the below commands to install tor browser in Ubuntu 13.10 64-bit version:

    sudo add-apt-repository ppa:upubuntu-com/tor64
    sudo gedit /etc/apt/sources.list.d/upubuntu-com-tor64-saucy.list
    
  2. Change saucy to raring and save that file:

    enter image description here

  3. Update the repositories:

    sudo apt-get update
    
  4. Now you can install the Tor Browser Bundle:

    sudo apt-get install tor-browser 
    
| improve this answer | |
  • I install it shows unexpected error . tor is not running – mahdiar Nov 26 '13 at 15:38
  • 5
    Anybody interested in tor should not be using third party repos, such as webupd8team. – earthmeLon Oct 16 '14 at 14:15
  • 2
    I know it's not the most convenient way to get your updates, but use the official torproject binaries and verify them. Don't rely on third-party sources for something that is related to your privacy. – Patrick Glandien Sep 25 '15 at 21:18
23

Do not use the packages in Ubuntu's universe.

According to The Tor Project, "In the past they have not reliably been updated. That means you could be missing stability and security fixes."

Download Tor Browser Bundle from The Tor Project website

  • From here, select your Language and download the 32-bit or 64-bit flavor as well as the accompanying sig file to ~/path/to/TBB_directory.

enter image description here

Verify GPG Signature

  • Download the Tor Browser Developers GPG Public Key (which is used for signing Tor Browser Bundle packages; also see keyserver):

    gpg --keyserver keys.gnupg.net --recv-keys 0xEF6E286DDA85EA2A4BA7DE684E2C6E8793298290
    
  • Verify that the signature file was produced when their GPG Key signed your Tor Browser Bundle download (adjust the commands if version is not "5.0.1" or language is not "en"):

    cd ~/path/to/TBB_directory 
    gpg --verify tor-browser-linux64-5.0.1_en-US.tar.xz.asc tor-browser-linux64-5.0.1_en-US.tar.xz
    
  • You should see "Good signature.." in your terminal if successful (if not, download the file again and try once more):

    gpg: Signature made Mon 17 Aug 2015 06:48:06 PM UTC
    gpg:                using RSA key D40814E0
    gpg: Good signature from "Tor Browser Developers (signing key) <torbrowser@torproject.org>"
    gpg: WARNING: This key is not certified with a trusted signature!
    gpg:          There is no indication that the signature belongs to the owner.
    Primary key fingerprint: EF6E 286D DA85 EA2A 4BA7  DE68 4E2C 6E87 9329 8290
         Subkey fingerprint: BA1E E421 BBB4 5263 180E  1FC7 2E1A C68E D408 14E0
    

Extract Tor Browser Bundle Package

  • Right-click .tar.xz file and select "Extract Here" or:

    tar -xvf tor-browser-linux64-5.0.1_en-US.tar.xz
    

Browse The Internet using globally distributed, encrypted, and anonymous Tor network

  • Open newly extracted directory, find the file start-tor-browser, and make sure it is executable.

    • Right-click > Properties > Permissions > Execute: Allow executing file as program
  • Double-click start-tor-browser or:

    ./start-tor-browser
    
  • Select Run if Nautilus asks you how you want to execute the `start-tor-browser' script.

Congratulations!

| improve this answer | |
  • 2
    Great PPA-independent answer. – pzkpfw Feb 13 '14 at 8:51
  • This is the correct answer. Thank you for taking the time to post this. You're even using FF <3 – earthmeLon Oct 16 '14 at 14:16
13

These are the instructions from the official Tor Browser User Manual in case the Ubuntu torbrowser-launcher package hasn't updated the gpg key that is required to install Tor Browser. When I updated the Tor Browser Developers signing key I noticed that the key that I updated will expire in less than one year.

  1. Navigate to the Tor Browser download page.

  2. Download the GNU/Linux .tar.xz file

  3. (Recommended) Verify the file's signature. The steps for verifying the file's signature are shown below.

  4. When the download is complete, extract the archive with the command tar -xf [TB archive] or with the Archive Manager.

  5. Navigate to the newly extracted Tor Browser directory. Right click on start-tor-browser.desktop, open Properties and change the permission to Allow executing file as program by clicking the checkbox. Double-click the icon to start up Tor Browser for the first time.

  6. Alternatively, from inside the Tor Browser directory, you can also start from the command line by running:

     ./start-tor-browser
    

How to verify Tor Browser's signature

Fetching the Tor Developers key

The Tor Browser team signs Tor Browser releases. Import the Tor Browser Developers signing key (0xEF6E286DDA85EA2A4BA7DE684E2C6E8793298290):

gpg --auto-key-locate nodefault,wkd --locate-keys torbrowser@torproject.org

This should show you something like:

gpg: key 4E2C6E8793298290: public key "Tor Browser Developers (signing key) <torbrowser@torproject.org>" imported
gpg: Total number processed: 1
gpg:               imported: 1
pub   rsa4096 2014-12-15 [C] [expires: 2020-08-24]
      EF6E286DDA85EA2A4BA7DE684E2C6E8793298290
uid           [ unknown] Tor Browser Developers (signing key) <torbrowser@torproject.org>
sub   rsa4096 2018-05-26 [S] [expires: 2020-09-12]

After importing the key, you can save it to a file (identifying it by fingerprint here):

gpg --output ./tor.keyring --export 0xEF6E286DDA85EA2A4BA7DE684E2C6E8793298290

Verifying the signature

To verify the signature of the package you downloaded, you will need to download the corresponding ".asc" signature file as well as the installer file itself, and verify it with a command that asks GnuPG to verify the file that you downloaded.

The example below assumes that you downloaded these two files to your Downloads folder.

gpgv --keyring ./tor.keyring ~/Downloads/tor-browser-linux64-9.0_en-US.tar.xz{.asc,}

The result of the command should produce something like this:

gpgv: Signature made 07/08/19 04:03:49 Pacific Daylight Time
gpgv:                using RSA key EB774491D9FF06E2
gpgv: Good signature from "Tor Browser Developers (signing key) <torbrowser@torproject.org>"
| improve this answer | |
10

NB: This PPA hasn't been updated in YEARS already (since 2017) and it is several updates behind the official Tor Browser Bundle release.

You can install TorBrowser Bundle in Ubuntu by using the TorBrowser WebUpd8 PPA. Open a terminal and copy/paste the following commands:

sudo add-apt-repository ppa:webupd8team/tor-browser
sudo apt-get update
sudo apt-get install tor-browser

Then simply launch TorBrowser from the Dash / menu.

More info: Tor Browser Bundle Ubuntu PPA

| improve this answer | |
  • 1
    Anybody interested in tor should not be using third party repos, such as webupd8team. – earthmeLon Oct 16 '14 at 14:12
  • Is this PPA abandoned?... – user1284631 Feb 27 '15 at 9:17
  • @axeoth If you are behing a proxy and you have exported the proxy credentials.... just run the command as sudo -E apt-add-repository ppa:webupd8team/tor-browser – user3234634 May 21 '15 at 22:41
  • It's abandoned now – Faissaloo Feb 11 '18 at 20:16
0

I installed the Tor v.9 browser on Ubuntu 18.04, using jtd's install steps, in a nutshell:

  • Select your OS on the https://www.torproject.org/download/ web page. Download the tor-browser-linux...tar.xz file.

  • Unzip the file.

  • Open the top folder (tor-browser_en-US, in my case) and double-click the start-tor-browser.desktop file.

  • The startup asks a couple simple questions, then the Tor browser loads up ready to go.

| improve this answer | |

Not the answer you're looking for? Browse other questions tagged or ask your own question.