Debian-საცავი

Tor-პროექტი უზრუნველყოფს Debian-ის კრებულის საკუთარ საცავს. ვინაიდან, Debian გთავაზობთ Tor-ის გრძელვადიან (LTS) გამოშვებას, იგი შეიძლება ყოველთვის არ წარმოადგენდეს მდგრად და განახლებულ Tor-ვერსიას, ამრიგად, გირჩევთ დააყენოთ tor ჩვენი საცავიდან.

როგორ გამოიყენება Tor-ის კრებულის საცავი 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, i.e. your user should be in the sudo group.

წინაპირობა: გადაამოწმეთ პროცესორის არქიტექტურა

The package repository offers amd64, arm64, and i386 binaries. Verify your operating system is capable of running the binary by inspecting the output of the following command:

  # dpkg --print-architecture

უნდა გამოიტანოს ან amd64, arm64, ანდაც i386. საცავზე არაა მხარდაჭერილი პროცესორის სხვა არქიტექტურა.

Note: The package repository does not offer 32-bit ARM architecture (armhf) images (yet). You should either install the version Debian offers (make sure to check out Debian backports, too, as that one has often a more up-to-date Tor package), or build Tor from source.

1. დააყენეთ apt-transport-https

კრებულების ყველა მმართველის ასამოქმედებლად, libapt-pkg-ბიბლიოთეკის გამოყენებით წვდომისთვის, წყაროებში არსებულ მონაცემებთან და კრებულებთან, https-ის მეშვეობით (Hypertext Transfer Protocol Secure).

   # apt install apt-transport-https

2. Create a new file in /etc/apt/sources.list.d/ named tor.list. Add the following entries:

   deb     [signed-by=/usr/share/keyrings/tor-archive-keyring.gpg] https://deb.torproject.org/torproject.org <DISTRIBUTION> main
   deb-src [signed-by=/usr/share/keyrings/tor-archive-keyring.gpg] https://deb.torproject.org/torproject.org <DISTRIBUTION> main

If you want to try experimental packages, add these in addition to the lines from above:

   deb     [signed-by=/usr/share/keyrings/tor-archive-keyring.gpg] https://deb.torproject.org/torproject.org tor-experimental-<DISTRIBUTION> main
   deb-src [signed-by=/usr/share/keyrings/tor-archive-keyring.gpg] https://deb.torproject.org/torproject.org tor-experimental-<DISTRIBUTION> main

ან nightly-ანაწყობები:

   deb     [signed-by=/usr/share/keyrings/tor-archive-keyring.gpg] https://deb.torproject.org/torproject.org tor-nightly-main-<DISTRIBUTION> main
   deb-src [signed-by=/usr/share/keyrings/tor-archive-keyring.gpg] https://deb.torproject.org/torproject.org tor-nightly-main-<DISTRIBUTION> main

შეცვალეთ <DISTRIBUTION> თქვენი საოპერაციო სისტემის კოდური დასახელებით. გაუშვით lsb_release -c ან cat /etc/debian_version საოპერაციო სისტემის ვერსიის დასადგენად.

შენიშვნა: Ubuntu Focal აღარ უჭერს მხარს 32-ბიტიანს, ასე რომ გამოიყენეთ:

   deb     [arch=<ARCHITECTURE> signed-by=/usr/share/keyrings/tor-archive-keyring.gpg] https://deb.torproject.org/torproject.org focal main
   deb-src [arch=<ARCHITECTURE> signed-by=/usr/share/keyrings/tor-archive-keyring.gpg] https://deb.torproject.org/torproject.org focal main

Replace <ARCHITECTURE> with your system architecture (you found it earlier by writing dpkg --print-architecture).

საფრთხის მანიშნებელი, როცა უშვებთ sudo-apt განახლებას:

   Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'http://deb.torproject.org/torproject.org focal InRelease' doesn't support architecture 'i386'

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

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

4. დააყენეთ tor და tor debian keyring

ჩვენ გთავაზობთ Debian-კრებულს, ჩვენი ხელმოწერის მიმდინარე გასაღების შესანარჩუნებლად. გირჩევთ, იგი გამოიყენოთ. დააყენეთ შემდეგი ბრძანებებით:

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

არა. არ გამოიყენოთ კრებულები Ubuntu-ს universe-იდან. წარსულში საიმედოდ არ განახლებულა. ეს კი ნიშნავს, რომ შესაძლოა მდგრადობასა და უსაფრთხოებას ზიანი მიდგომოდა. Instead, please use Tor Debian repository.

დიახ, deb.torproject.org აგრეთვე შემოთავაზებულია Onion-მომსახურებით: http://apow7mjfryruh65chtdydfmqfpj5btws7nbocgtaovhvezgccyjazpqd.onion/

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

Apt რომ გამოიყენოთ Tor-ით, საჭიროა დაყენებული იყოს apt transport:

   # apt install apt-transport-tor

შემდეგ დაგჭირდებათ დაამატოთ მოცემული ჩანაწერები ფაილში /etc/apt/sources.list ან ახალი ხაზი ფაილში /etc/apt/sources.list.d/:

   # მდგრადი ვერსიითვის.
   deb [signed-by=/usr/share/keyrings/tor-archive-keyring.gpg] tor+http://apow7mjfryruh65chtdydfmqfpj5btws7nbocgtaovhvezgccyjazpqd.onion/torproject.org <DISTRIBUTION> main

   # არამდგრადი ვერსიისთვის.
   deb [signed-by=/usr/share/keyrings/tor-archive-keyring.gpg] tor+http://apow7mjfryruh65chtdydfmqfpj5btws7nbocgtaovhvezgccyjazpqd.onion/torproject.org tor-nightly-main-<DISTRIBUTION> main

შეცვალეთ <DISTRIBUTION> თქვენი საოპერაციო სისტემის კოდური დასახელებით. გაუშვით lsb_release -c ან cat /etc/debian_version საოპერაციო სისტემის ვერსიის დასადგენად.

Since Debian bookworm you can also use the more modern deb822-style:

   # echo "\
     Types: deb deb-src
     Components: main
     Suites: bookworm
     URIs: tor+http://apow7mjfryruh65chtdydfmqfpj5btws7nbocgtaovhvezgccyjazpqd.onion/torproject.org
     Architectures: amd64 arm64 i386
     Signed-By: /usr/share/keyrings/tor-archive-keyring.gpg
     " | sudo tee /etc/apt/sources.list.d/tor.sources