Template:Install Unstable

From Whonix
Jump to navigation Jump to search

Prior to installing {{{package}}}archive.org iconarchive.today icon from Debian unstable read Install software from Debian unstable to understand the risks involved and circumvention options. Mixing packages from Debian stable with later release packages like Debian unstable can lead to instability. [1]

1. Open a terminal.

Select your platform.

Non-Qubes-Whonix USER Session

If you are using a graphical Whonix with LXQt, complete the following steps.

Start menuSystem ToolsQTerminal

Non-Qubes-Whonix SYSMAINT Session

In the System Maintenance Panel, under the Misc section, click Open Terminal.

Qubes-Whonix

If you are using Qubes-Whonix, complete the following steps.

Qubes App Launcher (blue/grey "Q")Whonix-Workstation App Qube (commonly named anon-whonix)QTerminal

2. In Whonix-Workstation (whonix-workstation-18 Qubes-Whonix) konsole, add Debian stable codename trixie to the apt-conf default-release.

sudo su -c "echo -e 'APT::Default-Release trixie;' > /etc/apt/apt.conf.d/70defaultrelease"

3. Add the current Debian unstable codename sid to sources.list.d.

sudo su -c "echo -e 'Types: deb URIs: https://deb.debian.net/debian Suites: sid Components: main Enabled: yes Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg' > /etc/apt/sources.list.d/unstable.sources"

Or alternatively use the .onion mirror.

sudo su -c "echo -e 'Types: deb URIs: tor+http://2s4yqjx5ul6okpp3f2gaunr2syex5jgbfpfvhxxbbjwnrsvbk5v3qbid.onion/debian Suites: sid Components: main Enabled: yes Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg' > /etc/apt/sources.list.d/unstable.sources"

4. Update the package lists.

sudo apt update

5. Install {{{package}}} from the current Debian unstable codename sid repository.

sudo apt install {{{package}}}/sid

6. Undo.

On occasion it is necessary to undo this configuration, for example when upgrading from Debian trixie to forky. [2] To proceed, run.

Delete Debian testing repository list.

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

Delete apt Default-Release configuration.

sudo rm /etc/apt/apt.conf.d/70defaultrelease

  1. Due to these risks, it is recommended to utilize Multiple Whonix-Workstation before installing the package.
  2. Most often this step applies before attempting major Whonix upgrades; upgrade instructions are also made available at that time (see Follow Whonix Developments).