<noinclude>{{Header}}</noinclude>
[[{{non_q_project_name_short}}|{{non_q_project_name}}]]:<br />
<u>{{project_name_long}} APT Repository</u> is <u>disabled by default</u> <ref>
Since {{project_name_long}} <code>7.3.3</code>
</ref> for <u>builds from source code</u> for reasons of [[Trust]]. Users can decide to update {{project_name_long}} Debian packages by building them from source code (greater security). Alternatively, {{project_name_long}} APT repository can be enabled right after building or after booting the build for the first time (greater convenience) using [[Project-APT-Repository|{{project_name_long}} repository tool]]. To use the latter method which sacrifices security for convenience, click on Expand on the right side.

<div class="toccolours mw-collapsible mw-collapsed">
<div class="mw-collapsible-content">

Do you want to <u>opt-in</u> <u>{{project_name_long}} APT Repository</u>?

The easy way to add {{project_name_long}} <code>stable</code> repository the following command line option can be used.

{{CodeSelect|code=
--repo true
}}

Other settings can be set using an environment variable or [[Dev/Source_Code_Intro#Build_Configuration|build configuration]]. Below are examples using an environment variable.

{{CodeSelect|code=
DERIVATIVE_APT_REPOSITORY_OPTS='--enable --repository stable'
}}
{{CodeSelect|code=
DERIVATIVE_APT_REPOSITORY_OPTS='--enable --repository testers'
}}
{{CodeSelect|code=
DERIVATIVE_APT_REPOSITORY_OPTS='--enable --repository developers'
}}
{{CodeSelect|code=
DERIVATIVE_APT_REPOSITORY_OPTS='--enable --codename {{Stable_project_version_based_on_Debian_codename}}'
}}

Add an environment variable as one normally does on that specific Linux platform. For example, to enable the {{project_name_long}} stable repository during build, you could set <code>DERIVATIVE_APT_REPOSITORY_OPTS</code> by interjecting it between <code>sudo</code> and the <code>./derivative-maker</code> command. Below is an example. Do not use <code>[...]</code>. Replace it with other chosen build parameters (such as <code>--build</code>, <code>--target</code> etc.) after <code>./derivative-maker</code>.

{{CodeSelect|code=
sudo DERIVATIVE_APT_REPOSITORY_OPTS='--enable --repository stable' ./derivative-maker [...]
}}
</div>
</div><noinclude>{{Footer}}</noinclude>