PDA

View Full Version : APT: How to remove all libraries belonging to a installed package?



Treppenhouse
February 16th, 2013, 01:43 PM
Hello!

I recently installed a program using the Ubuntu Software Center (apt-get). However, this package had several dependencies (mostly libraries that had to be installed as well).

After some time, I realized this program does not suit my needs, so I want to remove it.

Question: Is there a way not only to remove the package/program itself, but also all libraries and everything that was installed priorly, because of this program?

Thanks in advance for your help!

P.S. I am using Ubuntu. Newest Version (12.10)

JRV
February 16th, 2013, 01:51 PM
Try this:


sudo apt-get purge [PACKAGE}
sudo apt-get autoremove

Treppenhouse
February 16th, 2013, 06:08 PM
Thanks! Exactly what I was looking for!