{{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]]. [It is recommended to create multiple {{project_name_short}} to install the package due to these risks.]
}}
{{Box|text=
{{IconSet|h2|1}} {{Open_a__product_ws_terminal}}
{{IconSet|h2|2}} In {{project_name_workstation_long}} ({{project_name_workstation_template}} [[Qubes|{{qubes_project_name}}]]) terminal, 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"
}}
{{IconSet|h2|3}} Add the current Debian unstable codename {{Debian_Codename_Unstable}} to sources.list.d.
{{CodeSelect|code=
sudo su -c "echo -e 'Types: deb
URIs: https://deb.debian.net/debian
Suites: {{Debian_Codename_Unstable}}
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.
{{CodeSelect|code=
sudo su -c "echo -e 'Types: deb
URIs: tor+http://{{Debian_onion}}/debian
Suites: {{Debian_Codename_Unstable}}
Components: main
Enabled: yes
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg' > /etc/apt/sources.list.d/unstable.sources"
}}
{{IconSet|h2|4}} [[Operating_System_Software_and_Updates#Updates|Update]] the package lists.
{{CodeSelect|code=
sudo apt update
}}
{{IconSet|h2|5}} Install {{{package}}} from the current Debian unstable codename {{Debian_Codename_Unstable}} repository.
{{CodeSelect|code=
sudo apt install -t {{Debian_Codename_Unstable}} {{{package}}}
}}
{{IconSet|h2|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|stay tuned]]).] To proceed, run.
Delete the Debian unstable repository list.
{{CodeSelect|code=
sudo rm /etc/apt/sources.list.d/unstable.sources
}}
Delete the apt Default-Release configuration.
{{CodeSelect|code=
sudo rm /etc/apt/apt.conf.d/70defaultrelease
}}
}}