<noinclude>
{{Header}}
</noinclude>'''1.''' Install package <code>extrepo</code>.

{{CodeSelect|code=
sudo apt install extrepo
}}

'''2.''' Enable the stable <code>{{project_name_short_lowercase}}</code> APT repository. (See footnote for other options.) <ref>
<code>stable-proposed-updates</code> repository:

{{CodeSelect|code=
sudo extrepo enable {{project_name_short_lowercase}}_proposed
}}

<code>testers</code> repository:

{{CodeSelect|code=
sudo extrepo enable {{project_name_short_lowercase}}_testers
}}

<code>developers</code> repository:

{{CodeSelect|code=
sudo extrepo enable {{project_name_short_lowercase}}_developers
}}
</ref>
{{Tab
|type=controller
|content=
{{Tab
|type=section
|linkid=os-nonqubes
|active=true
|image=[[File:Kicksecure-logo-icon.svg]]
|title={{Headline|h=3|content=A : {{non_q_project_name_long}}}} ===
|content=
<div>{{project_name_short}}</code></div>
{{CodeSelect|code=
sudo extrepo enable {{project_name_short_lowercase}}
}}
}}
{{Tab
|type=section
|linkid=os-qubes-template
|image=[[File:Qubes-logo-blue.png]]
|title={{Headline|h=3|content=B : {{q_project_name_long}} Template}} ===
|content=
<div>{{q_project_name_short}} Template (<code>{{project_name_workstation_template}}</code>)</div>
{{CodeSelect|code=
sudo http_proxy=http://127.0.0.1:8082 https_proxy=http://127.0.0.1:8082 extrepo enable {{project_name_short_lowercase}}
}}
}}
}} <!-- End Tab Controller -->

'''3.''' Advanced options.

<div class="toccolours mw-collapsible mw-collapsed">
For advanced options such as clearnet over Tor or onion. <ref>
extrepo feature request: [https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1037254 extrepo apt-transport-tor and onion support]
</ref>

Please press on expand on the right side.
<div class="mw-collapsible-content">
Optional.

Install <code>apt-transport-tor</code>.

{{Install_Package|package=
apt-transport-tor
}}

Find out filename. 

{{CodeSelect|code=
ls -la /etc/apt/sources.list.d/extrepo_*
}}

NOTE: Filename will be different if using a repository other than the stable repository such as the testers repository.

{{Open with root rights|filename=
/etc/apt/sources.list.d/extrepo_kicksecure.sources
}}

Choose either option '''A)''' <u>or</u> '''B)'''.

* '''A)''' <u>Clearnet over Tor Repository:</u> To enable clearnet over Tor, <code>tor+</code> needs do be prepended in front of the <code>https</code>. The same in other words, look for {{CodeSelect|inline=true|code=Uris: https}} and replace it with {{CodeSelect|inline=true|code=Uris: tor+https}}.
* '''B)''' <u>Onion Repository:</u> To enable onion, look for the line starting with <code>Uris:</code>. Delete the whole line. Or out-comment it by adding as hash ("<code>#</code>") in front of it. Then add a new line: {{CodeSelect|inline=true|code=
Uris: tor+http://deb.{{project_onion}}
}}
</div>
</div>

'''4.''' Done.

The {{project_name_short}} APT repository has been enabled <ref>
forum discussion: [https://forums.whonix.org/t/extrepo-safely-adding-repos/8539 extrepo - safely adding repos]
</ref><noinclude>
= Footnotes =
<references />
[[Category:MultiWiki]]
{{Footer}}
</noinclude>