Template:Project-APT-Sources-Add

From Whonix
Jump to navigation Jump to search

Add the Whonix APT Repository.

Choose exactly one option: Option A, Option B OR Option C.

A : Onion Rep.

Option A: Add the Whonix Onion repository.

This option configures APT to access the Whonix repository via an onion service for maximum network anonymity.

To add the Whonix repository over Onion, first install apt-transport-tor and tor from the Debian repository.

sudo apt install apt-transport-tor tor

Add the Whonix APT repository for the default Whonix setup using Debian stable. At the time of writing, this was trixie.

echo "Types: deb URIs: tor+http://deb.dds6qkxpwdeubwucdiaord2xgbbeyds25rbsgr73tbfpqpt4a6vjwsyd.onion Suites: trixie Components: main contrib non-free Enabled: yes Signed-By: /usr/share/keyrings/derivative.asc" | sudo tee /etc/apt/sources.list.d/derivative.sources

B : Clearnet Rep. via Tor

Option B: Add the Whonix clearnet repository via Tor.

This option accesses the clearnet repository but routes all traffic through Tor.

To add the Whonix repository over torified clearnet, install apt-transport-tor from the Debian repository.

sudo apt install apt-transport-tor

Add the Whonix APT repository for the default Whonix setup using Debian stable. At the time of writing, this was trixie.

echo "Types: deb URIs: tor+https://deb.whonix.org Suites: trixie Components: main contrib non-free Enabled: yes Signed-By: /usr/share/keyrings/derivative.asc" | sudo tee /etc/apt/sources.list.d/derivative.sources

C : Clearnet Rep.

Option C: Add the Whonix clearnet repository over clearnet.

This option uses a direct clearnet connection without Tor.

Note: When later using the Whonix repository tool, this configuration will be upgraded to "Clearnet Rep. via Tor", unless noted otherwise. [1]

To add the Whonix repository over clearnet, add the Whonix APT repository for the default Whonix setup using Debian stable. At the time of writing, this was trixie.

echo "Types: deb URIs: https://deb.whonix.org Suites: trixie Components: main contrib non-free Enabled: yes Signed-By: /usr/share/keyrings/derivative.asc" | sudo tee /etc/apt/sources.list.d/derivative.sources

The procedure for adding the Whonix APT repository is now complete.

Footnotes

[edit]
  1. Unless using repository-dist --transport plain-tls. See also man repository-dist.
Notification image

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!