{{mbox
| image = [[File:Ambox_warning_pn.svg.png|40px]]
| text = Prior to installing [https://packages.debian.org/{{Debian_Codename_Unstable}}/{{{package}}} {{{package}}}
] from Debian unstable
read [[Install_Software#Install_from_Debian_unstable|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 [[Install_Software#Dependency_Hell|instability]]. [Due to these risks, it is recommended to utilize [[Multiple Whonix-Workstation|Multiple {{project_name_workstation_long}}]] before installing the package.]
}}
{{Box|text=
'''1.''' {{Open_a__product_ws_terminal}}
'''2.''' In {{project_name_workstation_short}} ({{project_name_workstation_template}}
[[Qubes|{{q_project_name_long}}]]) konsole, add Debian stable codename {{Stable_project_version_based_on_Debian_codename}}
to the apt-conf
default-release.
{{CodeSelect|code=
sudo su -c "echo -e 'APT::Default-Release {{Stable_project_version_based_on_Debian_codename}};' > /etc/apt/apt.conf.d/70defaultrelease"
}}
'''3.''' Add the current Debian unstable codename {{Debian_Codename_Unstable}}
to sources.list.d.
{{CodeSelect|code=
sudo su -c "echo -e 'deb https://deb.debian.net/debian {{Debian_Codename_Unstable}} main' > /etc/apt/sources.list.d/unstable.list"
}}
Or alternatively use the .onion mirror.
{{CodeSelect|code=
sudo su -c "echo -e 'deb tor+http://{{Debian_onion}}/debian {{Debian_Codename_Unstable}} main' > /etc/apt/sources.list.d/unstable.list"
}}
'''4.''' [[Operating_System_Software_and_Updates#Updates|Update]] the package lists.
{{CodeSelect|code=
sudo apt update
}}
'''5.''' Install {{{package}}} from the current Debian unstable codename {{Debian_Codename_Unstable}}
repository.
{{CodeSelect|code=
sudo apt install {{{package}}}/{{Debian_Codename_Unstable}}
}}
'''6.''' Undo.
On occasion it is necessary to undo this configuration, for example when upgrading from Debian {{Stable_project_version_based_on_Debian_codename}}
to {{Debian_Codename_Testing}}
. [Most often this step applies before attempting major {{project_name_short}} upgrades; upgrade instructions are also made available at that time (see [[Stay_Tuned|Follow {{project_name_short}} Developments]]).] To proceed, run.
Delete Debian testing repository list.
{{CodeSelect|code=
sudo rm /etc/apt/sources.list.d/unstable.list
}}
Delete apt Default-Release configuration.
{{CodeSelect|code=
sudo rm /etc/apt/apt.conf.d/70defaultrelease
}}
}}