qubes-doc/building/building-whonix-template.md

47 lines
1.3 KiB
Markdown
Raw Normal View History

2018-02-24 12:47:32 -05:00
---
layout: doc
title: Building Whonix Templates
permalink: /doc/building-whonix-template/
redirect_from:
- /en/doc/building-whonix-template/
---
## Building Whonix Templates
2018-02-24 13:38:06 -05:00
2018-02-24 13:40:18 -05:00
The Whonix templates are easily downloaded and installed by following the [procedure here](doc/whonix/install/).
2018-02-24 13:38:06 -05:00
However, they are integrated into `qubes-builder` so they are easy to build yourself if you prefer.
2018-02-24 13:44:09 -05:00
Note that you will need to create `anon-whonix` manually if you do so, but see [this issue](qubes-issues/issues/3601).
2018-02-24 13:38:06 -05:00
First, create the [Build Environment](doc/qubes-r3-building/) (follow the build environment section only).
Next, configure the builder:
~~~
cd ~/qubes-builder
./setup
# Select Yes to add Qubes Master Signing Key
# Select Yes to add Qubes OS Signing Key
# Select 3.2 or 4.0 for version
# Stable
# Yes (we want to build only templates)
# Select builder-fedora, builder-debian, template-whonix, mgmt-salt (builder will complain if you don't include builder-fedora, but we don't actually use it)
2018-02-24 13:44:09 -05:00
# Choose Yes to add adrelanos's third party key
2018-02-24 13:38:06 -05:00
# Yes (to download)
# Select whonix-gateway, whonix-workstation (for the currently shipping templates)
~~~
Continue the build process with:
~~~
make install-deps
make get-sources
~~~
Finally, use:
~~~
make qubes-vm
make template
~~~