The Fedora TemplateVM

The Fedora TemplateVM is the default TemplateVM in Qubes OS. This page is about the standard (or “full”) Fedora TemplateVM. For the minimal version, please see the Fedora Minimal page.

Installing

The Fedora TemplateVM comes preinstalled with Qubes OS. However, there may be times when you wish to install a fresh copy from the Qubes repositories, e.g.:

  • When a version of Fedora reaches EOL (end-of-life).
  • When a new version of Fedora you wish to use becomes supported as a TemplateVM.
  • When you suspect your Fedora TemplateVM has been compromised.
  • When you have made modifications to the Fedora TemplateVM that you no longer want.

To install a specific Fedora TemplateVM that is not currently installed in your system, use the following command in dom0:

$ sudo qubes-dom0-update qubes-template-fedora-XX

(Replace XX with the Fedora version number of the template you wish to install.)

To reinstall a Fedora TemplateVM that is already installed in your system, see How to Reinstall a TemplateVM.

After Installing

After installing a fresh Fedora TemplateVM, we recommend performing the following steps:

  1. Update the TemplateVM.

  2. Switch any TemplateBasedVMs that are based on the old TemplateVM to the new one:

  3. If desired, remove the old TemplateVM by running the following command in dom0:

     $ sudo dnf remove qubes-template-fedora-XX
    

    (Replace XX with the Fedora version number of the template you wish to remove.)

Upgrading

To upgrade your Fedora TemplateVM, please consult the guide that corresponds to your situation: