WEB TUTORIALS
PRACTICE EXAMPLES
HTML REFERENCES
CSS REFERENCES
PHP REFERENCES

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.

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

Related FAQ

Here are some more FAQ related to this topic:

Bootstrap UI Design Templates Property Marvels - A Leading Real Estate Portal for Premium Properties