Last active
May 31, 2023 07:53
-
-
Save linuxoracledev/e419b7dadb35b6acc306142f9d3c2ae1 to your computer and use it in GitHub Desktop.
How to install and uninstallTor Browser in Ubuntu 18.04
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
dosen't work this command