The Tor Project maintains its own Debian package repository. Since Debian provides the LTS version of Tor, this might not always give you the latest stable Tor version. Therefore, it's recommended to install tor from our repository.

Ini cara bagaimana Anda dapat mengaktifkan Tor Package Repository di distribusi berbasis Debian:

Note: The symbol # refers to running the code as root. This means you should have access to a user account with system administration privileges, e.g your user should be in the sudo group.

1. Install apt-transport-https

To enable all package managers using the libapt-pkg library to access metadata and packages available in sources accessible over https (Hypertext Transfer Protocol Secure).

   # apt install apt-transport-https

2. Tambahkan entri berikut ke /etc/apt/sources.list atau sebuah file baru di /etc/apt/sources.list.d/

   deb <DISTRIBUTION> main
   deb-src <DISTRIBUTION> main

Jika Anda ingin mencoba experimental packages:

   deb tor-experimental-0.3.4.x-<DISTRIBUTION> main
   deb-src tor-experimental-0.3.4.x-<DISTRIBUTION> main

Or nightly builds:

   deb tor-nightly-master-<DISTRIBUTION> main
   deb-src tor-nightly-master-<DISTRIBUTION> main

Replace <DISTRIBUTION> with your Operating System codename. Run lsb_release -c or cat /etc/debian_version to check the Operating System version.

3. Then add the gpg key used to sign the packages by running the following commands at your command prompt

   # wget -qO- | gpg --import
   # gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | apt-key add -

4. Install tor dan tor debian keyring

Kami menyediakan Debian package untuk membantu Anda menjaga signing key current. Disarankan Anda menggunakannya. Instal dengan perintah berikut:

   # apt update
   # apt install tor