You are not logged in.
Pages: 1
What is the correct syntax for the "purge" command.
So far, every time I try it, I receive the error "command not found."
Offline
What is the correct syntax for the "purge" command.
So far, every time I try it, I receive the error "command not found."
Firts, "purge" isn't a command per se, but an option you pass to apt-get, read apt-get's manpages
man apt-get
Second, you can use purge like this:
sudo apt-get purge pkg_name
Removes/uninstalls the pkg_name, i.e. Firefox, it'll also remove related settings, customizations and configuration files, i.e. .mozilla folder files.
sudo apt autoremove --purge
Removes/uninstalls pkgs no longer needed that were installed as dependencies for another pkg as well as their respective settings and configurations files.
sudo apt autoremove --purge pkg_name
Does the same thing as above but for a specific pkg_name
sudo apt-get remove --purge pkg_name
Does the same thing as apt-get purge.
Hope this helps!
Last edited by Tolkem (2021-04-30 19:34)
Offline
Pages: 1