Q:

How to Completely Remove a Package or Application in Ubuntu

0

How to Completely Remove a Package or Application in Ubuntu

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Use the autoremove Command

You can use the autoremove command to completely remove a package or an application in Ubuntu.

sudo apt-get --purge autoremove packagename

The above command will remove the specified package along with the dependencies that are installed with that package as well the associated configuration files.

For example, to remove "fail2ban" package along with the dependencies, you can run:

sudo apt-get --purge autoremove fail2ban

However, if you simply want to remove the package without removing the dependencies and configuration files you can use the following command:

sudo apt-get remove packagename

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Ubuntu / Linux Frequently Asked Questions

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
How to Unzip a Zip File from the Terminal in Ubunt... >>
<< How to Get a List of All Installed Packages on Ubu...