Skip to content

Instantly share code, notes, and snippets.

@linuxoracledev
Last active May 31, 2023 07:53
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save linuxoracledev/e419b7dadb35b6acc306142f9d3c2ae1 to your computer and use it in GitHub Desktop.
Save linuxoracledev/e419b7dadb35b6acc306142f9d3c2ae1 to your computer and use it in GitHub Desktop.
How to install and uninstallTor Browser in Ubuntu 18.04
##Istallation
#Install gtk and gtk3 module
sudo apt-get install libcanberra-gtk-module
sudo apt-get update
#Create a new repository file called tor.list
#cat <<EOF | sudo tee /etc/apt/sources.list.d/tor.list
#deb https://deb.torproject.org/torproject.org bionic main
#deb-src https://deb.torproject.org/torproject.org bionic main
#EOF
#Download and import the repository PGP key to Ubuntu..
curl https://deb.torproject.org/torproject.org/A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89.asc | sudo gpg --import
gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | sudo apt-key add -
#Update and refresh Ubuntu apt package list, then install Tor browser…
sudo apt-get update
sudo apt-get install tor deb.torproject.org-keyring torbrowser-launcher
#Start the browser
torbrowser-launcher
##Unisntallation
#To remove just tor package
sudo apt-get remove tor
#Uninstall tor and it's dependent packages
sudo apt-get remove --auto-remove tor
#Purging tor (configuration and/or data files)
sudo apt-get purge tor
#delete configuration and/or data files and it's dependencies
sudo apt-get purge --auto-remove tor
@raushankumarmk222
Copy link

dosen't work this command

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment