[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to uninstall packages installed using dpkg -i



On Tue, Feb 24, 2009 at 18:32, Mr. Wang Long <mr.wang.long@gmail.com> wrote:
> On Wed, Feb 25, 2009 at 02:23, paragasu <paragasu@gmail.com> wrote:
>> i download a deb package somewhere, it is for ubuntu. out of curiosity
>> i installed this package on my debian lenny. It doesn't work well, and
>> i want to remove it from my system.
>>
>> how to do it?
>>
>>
>> thanks
>>
>>
>> --
>> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
>> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>>
>>
>
> dpkg -P <package-name>
> For example,  if you dpkg -i ~/download/aa_x.y.z_i386.deb
> "dpkg -P aa" will remove everything installed by the deb package
> note the command is not dpkg -P ~/download/aa_x.y.z_i386.deb

You can also use "aptitude purge package_name" or aptitude in
interactive mode (in which case it will be listed under "Obsolete
and Locally Created Packages"),


Cheers,
Kelly Clowers


Reply to: