Build Documentation Whonix APT Repository
Whonix's APT Repository is disabled by default since Whonix 7.3.3 for reasons of Trust. Later on, users can decide to update Whonix Debian packages by building them from source code (greater security). Alternatively, Whonix's APT repository can be enabled right after building or after booting the build for the first time (greater convenience). To use the latter method which sacrifices security for convenience, click on Expand on the right side.
Do you want to opt-in for Whonix's APT Repository? This is set using an environment variable or build configuration. Below is an example using an environment variable.
WHONIX_APT_REPOSITORY_OPTS='--enable --repository stable'
WHONIX_APT_REPOSITORY_OPTS='--enable --repository testers'
WHONIX_APT_REPOSITORY_OPTS='--enable --repository developers'
WHONIX_APT_REPOSITORY_OPTS='--enable --codename stretch'
Add an environment variable as one normally does on that specific Linux platform. For example, to enable the Whonix stable repository during build, you could set
WHONIX_APT_REPOSITORY_OPTS by interjecting it between
sudo and the
./whonix_build command. Below is an example. Do not use
[...]. Replace it with other chosen build parameters (such as
--target etc.) after
sudo WHONIX_APT_REPOSITORY_OPTS='--enable --repository stable' ./whonix_build [...]
This is a wiki. Want to improve this page? Help is welcome and volunteer contributions are happily considered! See Conditions for Contributions to Whonix, then Edit! IP addresses are scrubbed, but editing over Tor is recommended. Edits are held for moderation.