Install Backport Host

From Whonix

For Debian hosts

Package {{{package}}} [archive] can be installed from Debian backports. This is non-ideal, see footnote. [1]

Note: the following instructions apply only to the Debian buster host operating system using Whonix Other host operating systems and other Whonix versions may use a codename different to buster.

1. Open a terminal on the host.

2. Add the current Debian stable backports codename buster-backports to Debian apt sources. [2]

sudo su -c "echo -e 'deb buster-backports main contrib non-free' > /etc/apt/sources.list.d/backports.list"

3. Update the package lists.

sudo apt-get update

4. Install the selected software.

sudo apt-get -t buster-backports install {{{package}}}

The procedure is now complete.

5. Undo.

On occasion it is necessary to undo this configuration, for example when upgrading from Debian buster to bullseye. [3] To proceed, run.

sudo rm /etc/apt/sources.list.d/backports.list

  1. Users should Prefer Packages from Debian Stable Repository, but using backports is better than manual software installation or using third party package managers since this prefers APT. To contain the risk, Non-Qubes-Whonix ™ users might want to consider using Multiple Whonix-Workstation ™ and Qubes-Whonix ™ users might want to consider using Multiple Qubes-Whonix ™ TemplateVMs or Software Installation in a TemplateBasedVM.
  2. Or alternatively use the .onion mirror.
    sudo su -c "echo -e 'deb tor+http://vwakviie2ienjx6t.onion/debian buster-backports main contrib non-free' > /etc/apt/sources.list.d/backports.list"

  3. Most often this step applies before attempting major Whonix upgrades; upgrade instructions are also made available at that time (see Stay Tuned).