{{Header}}
{{#seo:
|description=Which {{project_name_long}} Debian packages are safe to remove? What is a meta package? What other packages do {{project_name_long}} meta packages install? Which packages should never be removed? How to safely run autoremove?
|image=Box-158523640.png
}}
[[File:Box-158523640.png|thumb]]
{{intro|
Which {{project_name_short}} Debian packages are safe to remove? What is a meta package? What other packages do {{project_name_short}} meta packages install? Which packages should never be removed? How to safely run autoremove?
}}
= Upstream =
This page will focus exclusively on aspects related to {{project_name_short}}/Anonymity. For security hardening and additional insights, users should refer to the Kicksecure page.
{{Upstream_wiki}}
= Introduction =
It is safe to run sudo apt autoremove
so long as the specific {{project_name_short}} machine meta package
is kept for the {{non q project name short}} or {{q_project_name_short}} platform. In other words, these packages should not be in the list of autoremoved packages.
[[Non-Qubes-Whonix|{{non_q_project_name_short}}]] Xfce:
* [[{{project_name_gateway_short}}|{{project_name_gateway_long}}]]: non-qubes-whonix-gateway-xfce
* [[{{project_name_workstation_short}}|{{project_name_workstation_long}}]]: non-qubes-whonix-workstation-xfce
[[Qubes|{{q_project_name_long}}]]:
* {{project_name_gateway_short}}: qubes-whonix-gateway
* {{project_name_workstation_short}}: qubes-whonix-workstation
It is actually a good idea to safely run sudo apt autoremove
according to the following instructions on this wiki page to make sure extraneous packages which might no longer be recommended for default installation are removed.
= Re-install Meta Packages and Safely Run Autoremove =
{{Box|text=
'''1.''' [[Update]] the package lists.
{{CodeSelect|code=
sudo apt update
}}
'''2.''' Ensure a proper meta package is installed.
Select your platform.
[[Non-Qubes-Whonix|{{non_q_project_name_short}}]] Xfce:
* [[{{project_name_gateway_short}}]]: {{CodeSelect|code=
sudo apt install non-qubes-whonix-gateway-xfce
}}
* [[{{project_name_workstation_short}}]]: {{CodeSelect|code=
sudo apt install non-qubes-whonix-workstation-xfce
}}
[[Qubes|{{q_project_name_short}}]]:
* {{project_name_gateway_short}}: {{CodeSelect|code=
sudo apt install qubes-whonix-gateway
}}
* {{project_name_workstation_short}}: {{CodeSelect|code=
sudo apt install qubes-whonix-workstation
}}
'''3.''' Auto remove packages.
{{CodeSelect|code=
sudo apt autoremove
}}
'''4.''' Reconfirm a proper meta package is still installed.
Repeat step two.
'''5.''' Done.
The procedure of safely running sudo apt autoremove
is complete.
Related: [[Factory Reset|{{project_name_short}} Factory Reset]]
}}
= See Also =
* [[Configuration_Files#Configuration_Drop-In_Folders|Configuration Drop-In Folders]]
* [[Configuration_Files#Reset_Configuration_Files_to_Vendor_Default|Reset Configuration Files to Vendor Default]]
* [[Factory Reset|{{project_name_short}} Factory Reset]]
* [[Packages for Debian Hosts]]
* [[Project-APT-Repository|{{project_name_short}} APT Repository]]
* [[Dev/Build Documentation|Building and Update {{project_name_short}} from Source Code]]
* [[Dev/Installation_from_Repository|Installing {{project_name_short}} from Repository]]
= Footnotes =
{{reflist|close=1}}
{{Footer}}
[[Category:Documentation]]