How to Completely Remove a Package or Application in Ubuntu
Topic: Ubuntu / LinuxPrev|Next
Answer: Use the autoremove
Command
You can use the autoremove
command to completely remove a package or an application in Ubuntu.
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:
However, if you simply want to remove the package without removing the dependencies and configuration files you can use the following command:
Related FAQ
Here are some more FAQ related to this topic: