{{Header}}
__TOC__
{{Box|text=
Add the {{project_name_short}} APT Repository.
Choose either: 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 {{project_name_short}} Onion Repository.
To add {{project_name_short}} Repository over Onion please install apt-transport-tor
from the Debian repository.
{{CodeSelect|lang=bash|code=
sudo apt install apt-transport-tor
}}
Add [[Project-APT-Repository|{{project_name_short}} APT repository]] for default {{project_name_short}} using Debian {{Code2|stable}}. At the time of writing this was {{Stable_project_version_based_on_Debian_codename}}
.
{{CodeSelect|lang=bash|code=
echo "deb [signed-by=/usr/share/keyrings/derivative.asc] tor+http://deb.{{project_onion}} {{Stable_project_version_based_on_Debian_codename}} main contrib non-free" {{!}} sudo tee /etc/apt/sources.list.d/derivative.list
}}
}}
{{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 {{project_name_short}} Clearnet Repository over Tor.
To add {{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 {{project_name_short}} APT repository for default {{project_name_short}} using Debian stable. At the time of writing this was {{Stable_project_version_based_on_Debian_codename}}
.
{{CodeSelect|lang=bash|code=
echo "deb [signed-by=/usr/share/keyrings/derivative.asc] tor+https://deb.{{project_clearnet}} {{Stable_project_version_based_on_Debian_codename}} main contrib non-free" {{!}} sudo tee /etc/apt/sources.list.d/derivative.list
}}
}}
{{Tab
|addToClass=info-box
|image=[[File:Icon-lock.png|50px]]
|title={{Headline|h=5|content=C : Clearnet Rep.}}
|content=
'''Option C''': Add {{project_name_short}} Clearnet Repository over clearnet.
NOTE: When later using [[APT_Repository|{{project_name_short}} repository tool]], then this will be upgraded to "Clearnet Rep. via Tor", unless see footnote. [
Unless using ]repository-dist --transport plain-tls
. See also man repository-dist
.
To add {{project_name_short}} Repository over clearnet please add {{project_name_short}} APT repository for default {{project_name_short}} using Debian stable. At the time of writing this was {{Stable_project_version_based_on_Debian_codename}}
.
{{CodeSelect|lang=bash|code=
echo "deb [signed-by=/usr/share/keyrings/derivative.asc] https://deb.{{project_clearnet}} {{Stable_project_version_based_on_Debian_codename}} main contrib non-free" {{!}} sudo tee /etc/apt/sources.list.d/derivative.list
}}
}}
The procedure of adding the {{project_name_short}} repository is now complete.
}}
}}
= Footnotes =
[[Category:MultiWiki]]
{{Footer}}