Tor Browser
Step 0) Make some directories
$ mkdir -p ~/tor
$ mkdir -p ~/bin
$ cd ~/tor
Open a browser and go look here : https://dist.torproject.org which is where the files will be pulled from
Step 1) Get the relevent files
( using wget, endget or torsocks wget, I'll assume the user is just getting started and has a 64 bit distribution of linux )
Get the SHA256 sums
$ wget https://dist.torproject.org/torbrowser/7.0.11/sha256sums-signed-build.txt
$ wget https://dist.torproject.org/torbrowser/7.0.11/sha256sums-signed-build.txt.asc
Get the file and signature
$ wget https://dist.torproject.org/torbrowser/7.0.11/tor-browser-linux64-7.0.11_en-US.tar.xz
$ wget https://dist.torproject.org/torbrowser/7.0.11/tor-browser-linux64-7.0.11_en-US.tar.xz.asc
Step 2) Check the sha256sum and gpg signature
$ gpg --receive-key 0xD1483FA6C3C07136
$ gpg --verify sha256sums-signed-build.txt.asc
$ cat sha256sums-signed-build.txt
$ grep *linux64* sha256sums-signed-build.txt
$ grep tor-browser-linux64-7.0.11_en-US.tar.xz sha256sums-signed-build.txt >> tor_sha256sum.txt
$ sha256sum -c tor_sha256sum.txt
$ gpg --verify tor-browser-linux64-7.0.11_en-US.tar.xz.asc
## If these don't say GOOD SIGNATURE or the sha256sum outputs BAD CHECKSUM delete the file and try again.
Step 3) Unpack the zipped tar file
$ tar -xvf tor-browser-linux64-7.0.11_en-US.tar.xz
$ cd tor-browser_en-US
$ cd Browser
$ ls
$ pwd
Copy the present working directory into the clipboard or a text file
Now test to see if the binary works:
$ ./start-tor-browser
If so make a link
Step 4) Link and add to $PATH
$ cd ~/bin
$ ln -s ~/tor/tor-browser_en-US/Browser/start-tor-browser tor_browser
$ echo $PATH
$ export PATH=~/bin/:$PATH
$ echo $PATH
$ cd ~
Step 5) Start Tor Browser from command line
$ tor_browser