omotam img

Skip to main content
  1. Posts/

Install Tor

··101 words·1 min· Draft

TLDR #

apt install apt-transport-https gpg && \
echo "deb [signed-by=/usr/share/keyrings/deb.torproject.org-keyring.gpg] https://deb.torproject.org/torproject.org $(lsb_release -c -s 2>/dev/null) main" > /etc/apt/sources.list.d/tor.list && \
echo "deb-src [signed-by=/usr/share/keyrings/deb.torproject.org-keyring.gpg] https://deb.torproject.org/torproject.org $(lsb_release -c -s 2>/dev/null) main" >> /etc/apt/sources.list.d/tor.list && \
wget -qO- https://deb.torproject.org/torproject.org/A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89.asc | gpg --dearmor | tee /usr/share/keyrings/deb.torproject.org-keyring.gpg >/dev/null && \
apt update && apt install tor deb.torproject.org-keyring

Requirements #

apt install apt-transport-https gpg

APT Source #

echo "deb [signed-by=/usr/share/keyrings/deb.torproject.org-keyring.gpg] https://deb.torproject.org/torproject.org $(lsb_release -c -s 2>/dev/null) main" > /etc/apt/sources.list.d/tor.list
echo "deb-src [signed-by=/usr/share/keyrings/deb.torproject.org-keyring.gpg] https://deb.torproject.org/torproject.org $(lsb_release -c -s 2>/dev/null) main" >> /etc/apt/sources.list.d/tor.list

Signing Key #

wget -qO- https://deb.torproject.org/torproject.org/A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89.asc | gpg --dearmor | tee /usr/share/keyrings/deb.torproject.org-keyring.gpg >/dev/null

Install #

apt update && apt install tor deb.torproject.org-keyring