How to update whonix template from command line?

I was following this documentation to update my qubes from command line. In the last two steps of it, it says to run update commands in Fedora, and Debian templates. However, it doesn’t mention running any update commands within whonix-gw-16 nor whonix-ws-16 templates. How do I update the whonix templates from the command line?

You can update them the same way you’re updating debian template.
The official way to update whonix is to run the upgrade-nonroot command that is basically sudo apt update + sudo apt full-upgrade:
Update Qubes-Whonix ™

Thanks. Do I run $ sudo apt update && sudo apt full-upgrade command in the whonix-gw-16 tempate or the whonix-ws-16 template, or both?

You can just run:
upgrade-nonroot
But if you want to run the separate update and upgrade commands then run:
sudo apt update && sudo apt full-upgrade
You need to run the update command in both of your templates.

1 Like

Is the order important? For example, should I first run the update/upgrade command in -gw, or the -ws template?

The order doesn’t matter.

1 Like