Debian Packages
Which Whonix Debian packages are safe to remove? What is a meta package? What other packages do Whonix meta packages install? Which packages should never be removed? How to safely run autoremove?
Upstream[edit]
This page will focus exclusively on aspects related to Whonix/Anonymity. For security hardening and additional insights, users should refer to the Kicksecure page.
Introduction[edit]
It is safe to run sudo apt autoremove
so long as the specific Whonix machine meta package
is kept for the Non-Qubes-Whonix or Qubes-Whonix platform. In other words, these packages should not be in the list of autoremoved packages.
Non-Qubes-Whonix Xfce:
- Whonix-Gateway™:
non-qubes-whonix-gateway-xfce
- Whonix-Workstation™:
non-qubes-whonix-workstation-xfce
- Whonix-Gateway:
qubes-whonix-gateway
- Whonix-Workstation:
qubes-whonix-workstation
It is actually a good idea to safely run sudo apt autoremove
according to the following instructions on this wiki page to make sure extraneous packages which might no longer be recommended for default installation are removed.
Re-install Meta Packages and Safely Run Autoremove[edit]
1. Update the package lists.
sudo apt update
2. Ensure a proper meta package is installed.
Non-Qubes-Whonix Xfce:
- Whonix-Gateway: sudo apt install non-qubes-whonix-gateway-xfce
- Whonix-Workstation: sudo apt install non-qubes-whonix-workstation-xfce
- Whonix-Gateway: sudo apt install qubes-whonix-gateway
- Whonix-Workstation: sudo apt install qubes-whonix-workstation
3. Auto remove packages.
sudo apt autoremove
4. Reconfirm a proper meta package is still installed.
Repeat step two.
5. Done.
The procedure of safely running sudo apt autoremove
is complete.
Related: Whonix Factory Reset
See Also[edit]
- Configuration Drop-In Folders
- Reset Configuration Files to Vendor Default
- Whonix Factory Reset
- Packages for Debian Hosts
- Whonix APT Repository
- Building and Update Whonix from Source Code
- Installing Whonix from Repository
Footnotes[edit]
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 12 year success story and maybe DONATE!