nala-remove/purge(8)
π NAME π
nala-remove/purge β remove or purge packages that are no longer needed π
okay bestie, welcome to the combined glow-up guide for nala remove and nala purge, from the Nala User Manual. two commands, one page, zero boredom. let's get into it π
β¨ SYNOPSIS β¨
nala remove [--options] PKGS ...
nala purge [--options] PKGS ...
π¦ DESCRIPTION π¦
so basically: remove or purge packages that are no longer needed. that's the whole vibe.
the remove and purge docs got combined here because they're almost the same command. like sisters. same energy, slightly different lewk.
nala purge is really just nala remove --purge β that's literally it, no cap.
also, by default, nala will also remove any packages which are no longer needed. it's tidying up after itself. self-care fr fr π§Ήβ¨
π OPTIONS π
--purgeβ purge any packages that would be removed during the transaction.
so nala remove --purge is equivalent to nala purge. same thing, different outfit π
--debugβ print helpful information for solving issues. if you're submitting a bug report, try running the command again with--debugand hand that output to the devs β it may be helpful. the devs will love you for it π«Ά--raw-dpkgβ force nala not to format dpkg output.
this disables all formatting and it would look as if you were using apt. retro vibes, but make it raw.
a more indepth explanation for what this switch does: nala will fork a tty instead of a pty for dpkg.
nala will also not display a progress bar for dpkg with this turned on. additionally, the language of the output will not be forced into English for this mode. so it's giving... unformatted, no progress bar, un-anglicised. iykyk π
-d,--download-onlyβ packages are only retrieved, not unpacked or installed. window shopping only, bestie ποΈ--remove-essentialβ allow the removal of essential packages.
this is very dangerous, but we thought you should have the option. not me handing you the scissors π₯π
--assume-yes,--assume-no-y,--assume-yesβ automatically select yes for any prompts which may need your input.
if the configuration option assume_yes is true, this switch will set it back to default behavior.
-n,--assume-noβ automatically select no for any prompts which may need your input.
--simple,--no-simple--simpleβ show a more simple and condensed transaction summary.--no-simpleβ show the standard table transatction summary with more information.
this variant is the default.
-o,--optionβ set options to pass through toapt,nala, ordpkg.
example: force dpkg to install new config files without prompting:
nala install --option Dpkg::Options::="--force-confnew"
disable scrolling text for nala:
nala install --option Nala::scrolling_text="false"
allow nala to update unauthenticated repositories:
nala install --option* APT::Get::AllowUnauthenticated="true"
-v,--verboseβ disable scrolling text and print extra information. give me ALL the lore π-h,--helpβ shows this man page. hi, you're here π--autoremove,--no-autoremove--autoremoveβ automatically remove any packages that are no longer needed.
this variant is the default.
--no-autoremoveβ do NOT automatically remove any packages.
--update,--no-update--updateβ update the package list before the requested operation.
example:
nala install --update neofetch
is equivalent to
apt update && apt install neofetch
[Default for: upgrade]
--no-updateβ do NOT update the package list before the requested operation.
[Default for: install, remove, purge, autoremove, autopurge]
--install-recommends,--no-install-recommends--install-recommendsβ recommended packages will be installed.
this variant is the default unless changed with the apt config.
--no-install-recommendsβ recommended package will NOT be installed.
if this option is selected nala will display the recommended packages that will not be installed.
--install-suggests,--no-install-suggests--install-suggestsβ suggested packages will be installed.
this variant is the default.
--no-install-suggestsβ this variant is the default unless changed with the apt config.
if this option is selected nala will display the suggested packages that will not be installed.
--fix-broken,--no-fix-broken--fix-brokenβ attempts to fix broken packages.
this variant is the default.
--no-fix-brokenβ stops nala from performing extra checks.
this can result in a broken install! π¨ be so serious rn
if you just want to fix broken packages:
nala install --fix-broken
πΈ COPYRIGHT πΈ
Copyright (C) 2021, 2022 Blake Lee
and that's the whole page, bestie π this was nala-remove/purge(8) from the 'Nala User Manual', version 0.16.0, dated 21 Apr 2025. go forth and uninstall responsibly, you absolute icon πβ¨π¦
π¦ where this page comes from
- debian trixie: nala 0.16.0 Β· GPL-3.0-or-later
- ubuntu resolute: nala 0.16.0 Β· GPL-3.0-or-later
- ubuntu stonking: nala 0.16.0 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms