PDA

View Full Version : [ubuntu] How to remove an unpacked but unconfigured package



shredder12
September 3rd, 2009, 05:50 PM
I tried to install some library using apt but jst before installation when it asked me to configure some of the options concerning the library I aborted the installation..
so every time i try to install anything.. the installation takes place nicely .. but the package manager also tries installing that library..
I don't want that to happen.. how do i get rid of it??

slakkie
September 3rd, 2009, 06:04 PM
Removing a package can be done by:

aptitude purge <packagename>

stlsaint
September 3rd, 2009, 06:08 PM
try
sudo apt-get remove (package)

mrgnash
September 3rd, 2009, 06:14 PM
sudo dpkg --configure -a

Then just:


sudo apt-get remove --purge name_of_library && sudo apt-get clean

-- to remove it.