Using apt in dom0: "command not found"

This is probably a really dumb question, but I’m trying to implement split-gpg and following the documentation. When I attempted sudo apt install, I get “command not found”.

I’ve also noticed apt isn’t in /etc and was thinking this has to do with dom0 being based on Fedora. How do I go about resolving this?

Thanks in advance.

You must have misread the documentation. The command is:

[user@dom0 ~]$ sudo qubes-dom0-update qubes-gpg-split-dom0

Don’t worry. Happens to everyone!


Dom0 wouldn’t have apt as it is not based on debian (only debian-based linux distributions use apt). Fedora-based ones (as dom0 is) use the dnf command. However, because dom0 is disconnected from the internet you use instead the command sudo qubes-dom0-update <PACKAGE> which is basically the same as saying sudo dnf install <PACKAGE>.

Read more on the docs: