How To Install TOR Browser In Kali Linux

0

Now that you might be using “Kali Linux” as your default operating system or as a virtual machine. Want to hide your IP Address? Then you might use some VPN services or most of us the “TOR Browser”. Now in this guide, I’ll be providing you with the complete information on installing to on your Kali Linux machine.

Basically, Tor is free to use. Anyone from anywhere can use it. It’s just an open network that helps you defend against traffic analysis, a form of network surveillance that threatens personal freedom and privacy, confidential business activities and relationships, and state security.

Why anonymity matters?

Tor protects you by bouncing your communications around a distributed network of relays run by volunteers all around the world: it prevents somebody watching your Internet connection from learning what sites you visit, and it prevents the sites you visit from learning your physical location.

[Source: https://www.torproject.org/]

Step1. Open up the terminal and just type in “sudo apt-get update“. Once the update process is completed, Just type in “apt-get install tor” and then just tap “Y” and hit enter. Depending on your internet speed the app gets installed.

Step2. Now that for some users the browser gets installed and is ready to use. If the first step has no use for your device, Then just follow from the step2.

Now here we need to add the official tor repository as based on the debian distribution. Not to be confused, Kali is actually based on Debian and it uses the package management from Wheezy”. So we are going to use “Wheezy” as our distribution.

This can be done by adding the below lines of code to the “sources.list” file. To do this, In the terminal just execute the below command.

Now add the following line at the bottom of the file,

Add GPG Keys

Now we need to add the gpg key used to sign the packages by running the following commands:

Step3. Once you complete the above step, Its time to update the repositories just by entering the command in the terminal “apt-get update“. Once the update completes, just install the singing key by entering the command “apt-get install deb.torproject.org-keyring” in the terminal.

Then just install the tor browser by the command “apt-get install tor”

Now Tor should be installed!
If no error occurs, follow the second step.

Install Tor from development branch

If you are an advanced user and you want to install Tor using the development branch then this method is for you.

Add Tor project repository to sources.list

You need to add a different set of lines to your /etc/apt/sources.list file:

Add GPG keys, keyring and install Tor

Then run the following commands at your command prompt:

Now Tor should be installed!
If no error occurs, follow the second step.
Note: This release will provide you more features but it contains bugs too.

Build and Install Tor from sources

If you want to build your own debs from source you must first add an appropriate deb-src line to sources.list.

You also need to install the necessary packages to build your own debs and the packages needed to build Tor:

Then you can build Tor in ~/debian-packages:

Now you can install the new package:

Downloading and Running Tor bundle

Download the Tor Bundle from here,
https://www.torproject.org/projects/torbrowser.html.en
Download the architecture-appropriate file above, save it somewhere, then run one of the following two commands to extract the package archive:

or (for the 64-bit version):

(where LANG is the language listed in the filename).
Once that’s done, switch to the Tor browser directory by running:

(whereLANG is the language listed in the filename).
To run the Tor Browser Bundle, execute the start-tor-browser script:

This will launch Vidalia and once that connects to Tor, it will launch Firefox.

Note: Do not unpack or run TBB as root. (though in Kali Linux, it doesn’t make any differences)

[Origin: blackmoreops]