1. Download the file that contains the Tor browser source code from here
2. Extract the contents of the file by opening a Terminal and move to the directory containing the .tar.xz file:
- Ctrl + Alt + T
- cd Downloads
- tar -xf tor-browser-linux-x86_64-13.0.9.tar.xz
- cd tor-browser/
- ./start-tor-browser.desktop
Note: If this command fails to run, you may need to make the file executable. From within this directory run:
- chmod +x start-tor-browser.desktop
Run './start-tor-browser.desktop --help' to display the full set of options of some additional flags that can be used with start-tor-browser.desktop from the command-line:
- $./start-tor-browser.desktop --help
Create a Shortcut to Launch the Tor Browser by just typing tor in the terminal
1. Open a terminal window.
2. Create a symbolic link in the /usr/local/bin directory, which is part of the system's PATH variable and contains executable files that can be run from any directory. Run the following command:
- sudo ln -s /home/user/Downloads/tor-browser/start-tor-browser.desktop /usr/local/bin/tor
3. Enter your password when prompted.
4. Now you can launch the Tor Browser by typing "tor" in the terminal.
Note: You may need to restart your terminal session or log out and back in for the changes to take effect.
Verify the Symbolic Link
You can use the ls -l command to verify that the symbolic link is pointing to the correct location:
- ls -l /usr/local/bin/tor
lrwxrwxrwx 1 root root 62 Feb 20 09:49 /usr/local/bin/tor -> /home/username/Downloads/tor-browser/start-tor-browser.desktop
Remove a Symbolic Link
- sudo rm /usr/local/bin/tor
You can create a symbolic link for tor browser and add it to the environmental variable path:
- sudo ln -s /home/elimboto/Downloads/tor-browser/start-tor-browser.desktop /usr/local/bin/tor && echo 'export PATH="$PATH:/usr/local/bin"' >> ~/.bashrc