Stór Debian

Yes, deb.torproject.org is also served via an Onion Service: http://apow7mjfryruh65chtdydfmqfpj5btws7nbocgtaovhvezgccyjazpqd.onion/

Chun Apt over Tor a úsáid, ní mór an iompar oiriúnach a shuiteáil:

sudo apt install apt-transport-tor -y

Then you need to add the repository:

For the stable version:

printf "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/tor-project-keyring.gpg] tor+http://apow7mjfryruh65chtdydfmqfpj5btws7nbocgtaovhvezgccyjazpqd.onion/torproject.org $(lsb_release -c) main" | sudo tee -a /etc/apt/sources.list.d/tor-project.list
printf "deb-src [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/tor-project-keyring.gpg] tor+http://apow7mjfryruh65chtdydfmqfpj5btws7nbocgtaovhvezgccyjazpqd.onion/torproject.org $(lsb_release -c) main" | sudo tee -a /etc/apt/sources.list.d/tor-project.list

For the experimental builds: printf "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/tor-project-keyring.gpg] tor+http://apow7mjfryruh65chtdydfmqfpj5btws7nbocgtaovhvezgccyjazpqd.onion/torproject.org tor-experimental-$(lsb_release -c) main" | sudo tee -a /etc/apt/sources.list.d/tor-project.list printf "deb-src [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/tor-project-keyring.gpg] tor+http://apow7mjfryruh65chtdydfmqfpj5btws7nbocgtaovhvezgccyjazpqd.onion/torproject.org tor-experimental-$(lsb_release -c) main" | sudo tee -a /etc/apt/sources.list.d/tor-project.list


For the nightly builds:

printf "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/tor-project-keyring.gpg] tor+http://apow7mjfryruh65chtdydfmqfpj5btws7nbocgtaovhvezgccyjazpqd.onion/torproject.org tor-nightly-main-$(lsb_release -c) main" | sudo tee -a /etc/apt/sources.list.d/tor-project.list printf "deb-src [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/tor-project-keyring.gpg] tor+http://apow7mjfryruh65chtdydfmqfpj5btws7nbocgtaovhvezgccyjazpqd.onion/torproject.org tor-nightly-main-$(lsb_release -c) main" | sudo tee -a /etc/apt/sources.list.d/tor-project.list


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

echo -e "Types: deb deb-src\nComponents: main\nSuites: bookworm\nURIs: tor+http://apow7mjfryruh65chtdydfmqfpj5btws7nbocgtaovhvezgccyjazpqd.onion/torproject.org\nArchitectures: amd64 arm64 i386\nSigned-By: /usr/share/keyrings/tor-project-keyring.gpg" | sudo tee /etc/apt/sources.list.d/tor-project.sources ```

Coinníonn Tionscadal Tor a stór pacáiste Debian féin. Ós rud é go soláthraíonn Debian an leagan LTS de Tor, seans nach dtabharfaidh sé seo an leagan cobhsaí Tor is déanaí duit i gcónaí. Mar sin, moltar tor a shuiteáil ónár stór.

Seo mar is féidir leat Stór Pacáiste Tor a chumasú i ndáiltí bunaithe ar Debian:

Nóta: Tagraíonn an tsiombail # don chód a rith mar fhréamh. Ciallaíonn sé seo gur cheart go mbeadh rochtain agat ar chuntas úsáideora a bhfuil pribhléidí riaracháin córais aige, i.e. ba chóir go mbeadh d’úsáideoir sa ghrúpa sudo.

Réamhriachtanas: Fíoraigh ailtireacht an LAP

Tairgeann an stór pacáiste binaries amd64, arm64, agus i386. Fíoraigh an bhfuil do chóras oibriúcháin in ann an dénártha a rith trí aschur an ordaithe seo a leanas a iniúchadh:

  # dpkg --print-architecture

Ba cheart dó amd64, arm64, nó i386 a aschur. Ní thacaíonn an stór le hailtireachtaí eile LAP.

Nóta: Ní thairgeann an stór pacáiste íomhánna ailtireachta ARM 32-giotán (armhf) (go fóill). Ba cheart duit an leagan a thairgeann Debian a shuiteáil (déan cinnte seiceáil ar backports Debian freisin, mar is minic a bhíonn pacáiste Tor níos nuashonraithe ag an gceann sin), nó tóg Tor ón bhfoinse.

1. Suiteáil apt-transport-https

A chur ar chumas gach bainisteoir pacáiste a úsáideann an leabharlann libapt-pkg rochtain a fháil ar mheiteashonraí agus ar phacáistí atá ar fáil i bhfoinsí atá inrochtana thar https (Hypertext Transfer Protocol Secure).

   # apt install apt-transport-https

2. Cruthaigh comhad nua i /etc/apt/sources.list.d/ darb ainm tor.list. Cuir na hiontrálacha seo a leanas leis:

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

Más mian leat triail a bhaint as pacáistí turgnamhacha, cuir iad seo i dteannta leis na línte thuas:

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

Nó tógálacha oíche:

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

Cuir códainm do Chórais Oibriúcháin in ionad <DISTRIBUTION>. Rith lsb_release -ccat /etc/debian_version chun leagan an Chórais Oibriúcháin a sheiceáil.

Nóta: Thit Ubuntu Focal tacaíocht do 32-giotán, mar sin bain úsáid as ina ionad sin:

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

Cuir ailtireacht do chórais in ionad <ARCHITECTURE> (d'aimsigh tú níos luaithe é trí dpkg --print-architecture a scríobh).

Siomptóm rabhaidh, agus nuashonrú sudo apt á rith:

   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. Ansin cuir an eochair gpg a úsáidtear chun na pacáistí a shíniú tríd an ordú seo a leanas a rith ag do ordú leid:

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

4. Suiteáil tor agus fáinne eochair debian

Cuirimid pacáiste Debian ar fáil chun cabhrú leat ár n-eochair sínithe a choinneáil cothrom le dáta. Moltar duit é a úsáid. Suiteáil é leis na horduithe seo a leanas:

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

Ní hea. Ná húsáid na pacáistí i gcruinne Ubuntu. San am atá thart níor tugadh cothrom le dáta go hiontaofa iad. Ciallaíonn sé sin go bhféadfadh cobhsaíocht agus socruithe slándála a bheith in easnamh ort. Ina áit sin, bain úsáid as stór Tor Debian.