{{Header}} __TOC__ {{Box|text= Add the {{project_name_short}} APT Repository. Choose exactly one option: Option A, Option B '''OR''' Option C. {{Tab |type=controller |content= {{Tab |active=true |addToClass=info-box |image=[[File:Iconfinder_tor_386502.png|50px]] |title= {{Headline|h=5|content=A : Onion Rep.}} |content= '''Option A''': Add the {{project_name_short}} Onion repository. This option configures APT to access the {{project_name_short}} repository via an onion service for maximum network anonymity. To add the {{project_name_short}} repository over Onion, first install apt-transport-tor from the Debian repository. {{CodeSelect|lang=bash|code= sudo apt install apt-transport-tor }} Add the [[Project-APT-Repository|{{project_name_short}} APT repository]] for the default {{project_name_short}} setup using Debian {{Code2|stable}}. At the time of writing, this was {{Stable_project_version_based_on_Debian_codename}}. {{CodeSelect|lang=bash|code= echo "Types: deb URIs: tor+http://deb.{{project_onion}} Suites: {{Stable_project_version_based_on_Debian_codename}} Components: main contrib non-free Enabled: yes Signed-By: /usr/share/keyrings/derivative.asc" {{!}} sudo tee /etc/apt/sources.list.d/derivative.sources }} }} {{Tab |addToClass=info-box |image=[[File:Deep-web-1106648640.jpg|50px]] |title={{Headline|h=5|content=B : Clearnet Rep. via Tor}} |content= '''Option B''': Add the {{project_name_short}} clearnet repository via Tor. This option accesses the clearnet repository but routes all traffic through Tor. To add the {{project_name_short}} repository over torified clearnet, install apt-transport-tor from the Debian repository. {{CodeSelect|lang=bash|code= sudo apt install apt-transport-tor }} Add the {{project_name_short}} APT repository for the default {{project_name_short}} setup using Debian stable. At the time of writing, this was {{Stable_project_version_based_on_Debian_codename}}. {{CodeSelect|lang=bash|code= echo "Types: deb URIs: tor+https://deb.{{project_clearnet}} Suites: {{Stable_project_version_based_on_Debian_codename}} Components: main contrib non-free Enabled: yes Signed-By: /usr/share/keyrings/derivative.asc" {{!}} sudo tee /etc/apt/sources.list.d/derivative.sources }} }} {{Tab |addToClass=info-box |image=[[File:Icon-lock.png|50px]] |title={{Headline|h=5|content=C : Clearnet Rep.}} |content= '''Option C''': Add the {{project_name_short}} clearnet repository over clearnet. This option uses a direct clearnet connection without Tor. Note: When later using the [[Project-APT-Repository|{{project_name_short}} repository tool]], this configuration will be upgraded to "Clearnet Rep. via Tor", unless noted otherwise. Unless using repository-dist --transport plain-tls. See also man repository-dist. To add the {{project_name_short}} repository over clearnet, add the {{project_name_short}} APT repository for the default {{project_name_short}} setup using Debian stable. At the time of writing, this was {{Stable_project_version_based_on_Debian_codename}}. {{CodeSelect|lang=bash|code= echo "Types: deb URIs: https://deb.{{project_clearnet}} Suites: {{Stable_project_version_based_on_Debian_codename}} Components: main contrib non-free Enabled: yes Signed-By: /usr/share/keyrings/derivative.asc" {{!}} sudo tee /etc/apt/sources.list.d/derivative.sources }} }} The procedure for adding the {{project_name_short}} APT repository is now complete. }} }} = Footnotes = [[Category:MultiWiki]] {{Footer}}