Ubuntu-Debian uninstall software packages

There are few ways that can be used to uninstall software packages. Today in this article we will see few approaches of uninstalling software packages on Ubuntu or Debian.

Command 1

sudo apt-get remove <Package name>

If you installed the software via the package manager, you can very much use the above command.

Example

sudo apt-get remove libwww-perl

uninstall package ubuntu debian

Command 2

sudo apt-get autoremove <Package name>

Example

sudo apt-get autoremove libwww-perl

Command 3

sudo apt-get purge <package-name>

Example

sudo apt-get purge libwww-perl
Ubuntu Debian uninstall software packages

The above command removes the package and all related packages AND configuration files.

References:

Do you have any comments or ideas or any better suggestions to share?

Please sound off your comments below.

Happy Coding !!



Please bookmark this page and share it with your friends. Please Subscribe to the blog to receive notifications on freshly published(2024) best practices and guidelines for software design and development.



Leave a Reply

Your email address will not be published. Required fields are marked *