Uninstall Whonix TemplateVMs
Warning: This guide will completely uninstall your underlying Whonix TemplateVMs. For example, if you want to stop using Whonix or start over with a clean install of Whonix on your Qubes system.
If you are just wanting to remove and recreate your Whonix-Gateway ProxyVMs and/or Whonix-Workstation AppVMs with your existing Whonix TemplateVMs, then this would not be the guide for doing that.
1. Unset or Remove Whonix TemplateVM from All VMs
In order to uninstall a Whonix TemplateVM, you first must ensure that no VMs have this TemplateVM set as its underlying template, or else the uninstall will not work. You can accomplish this by either unsetting the TemplateVM from VMs or simply by removing the VMs altogether. You only have to do this for VMs that use the TemplateVM that you will uninstall.
Option 1a. Unsetting TemplateVM from VMs
This option allows you to keep any VMs and their user storage contents. Note that the root storage will still be lost when uninstalling the TemplateVM, so you may want to backup anything important first.
dom0 -> Qubes VM Manager -> right click Whonix VM -> Shutdown VM
In Dom0 » Qubes VM Manager:
dom0 -> Qubes VM Manager -> right click Whonix VM -> VM Settings -> Basic tab -> Template -> Choose a different TemplateVM from the Template list, such as your Fedora TemplateVM.
Option 1b. Removing VMs with TemplateVM
This option will delete your user storage contents, so you may want to backup anything important first.
dom0 -> Qubes VM Manager -> right click Whonix VM -> Remove AppVM
2. Uninstall Whonix TemplateVM
Note that if you have customized your TemplateVM, these will be lost when uninstalling the TemplateVM, so you may want to backup anything important first.
Option 2a. Uninstall Whonix-Gateway TemplateVM
Open a dom0 terminal.
Qubes App Launcher (blue/grey "Q") -> System Tools -> Konsole
Uninstall the qubes-template-whonix-gw template package.
sudo yum erase qubes-template-whonix-gw
Option 2b. Uninstall Whonix-Workstation TemplateVM
Open a dom0 terminal.
Uninstall the qubes-template-whonix-ws template package.
sudo yum erase qubes-template-whonix-ws
https | (forcing) onion
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.