How to remove a package with apt

Log into your server with a root account. Run the following command to remove a package.

apt-get remove <PackageName>

Your package will now be removed. The dependencies that were installed with that package will not be removed.

In order to remove the dependency packages that are no longer needed run the following command.

apt-get autoremove

The dependencies will now be removed.


Article Details

Last Updated
26th of April, 2010

Related Articles

No related articles were found.

Attachments

No attachments were found.


User Opinions



How would you rate this answer?




Thank you for rating this answer.

© Copyright 2009 FireHost Inc. Privacy Policy Legal Information