Template:Build Documentation Build Configuration
It is possible to add build configuration files snippets which can change build variables.
Build Configuration Folders:
You can drop configuration file either in:
buildconfig.dor in/etc/buildconfig-dist.d../buildconfig.dfolder.
Files should have the file extension .conf.
Method 2. is recommended for users.
- Contains examples. It is more difficult to use. [1] Rather use the following.
sudo mkdir --parents /etc/buildconfig-dist.d- When
/home/user/Whonixis your Whonix source folder, you could use/home/user/buildconfig.das your Whonix build configuration folder. It is easier to use, since you don't have to git commit your build config files.
Below is an example how to use method 2.
sudo mkdir /etc/buildconfig-dist.d
Open file /etc/buildconfig-dist.d/50_user.conf in an editor with administrative ("root") rights.
1 Select your platform.
2 Notes.
- Sudoedit guidance: See Open File with Root Rights
for details on why using sudoeditimproves security and how to use it. - Editor requirement: Close Featherpad (or the chosen text editor) before running the
sudoeditcommand.
3 Open the file with root rights.
sudoedit /etc/buildconfig-dist.d/50_user.conf
2 Notes.
- Sudoedit guidance: See Open File with Root Rights
for details on why using sudoeditimproves security and how to use it. - Editor requirement: Close Featherpad (or the chosen text editor) before running the
sudoeditcommand. - Template requirement: When using Qubes-Whonix, this must be done inside the Template.
3 Open the file with root rights.
sudoedit /etc/buildconfig-dist.d/50_user.conf
4 Notes.
- Shut down Template: After applying this change, shut down the Template.
- Restart App Qubes: All App Qubes based on the Template need to be restarted if they were already running.
- Qubes persistence: See also Qubes Persistence

- General procedure: This is a general procedure required for Qubes and is unspecific to Qubes-Whonix.
2 Notes.
- Example only: This is just an example. Other tools could achieve the same goal.
- Troubleshooting and alternatives: If this example does not work for you, or if you are not using Whonix, please refer to Open File with Root Rights.
3 Open the file with root rights.
sudoedit /etc/buildconfig-dist.d/50_user.conf
Add. (Replace it with whatever build configuration variable you wish to set.)
Example 1.
export DERIVATIVE_APT_REPOSITORY_OPTS='--enable --repository stable'
Example 2.
export tbb_version=13.0.1
Save.
Done.
We believe security software like Whonix needs to remain Open Source and independent. Would you help sustain and grow the project? Learn more about our 14 year success story and maybe DONATE!