On Tue, Feb 24, 2009 at 18:32, Mr. Wang Long <mr.wang.l...@gmail.com> wrote: > On Wed, Feb 25, 2009 at 02:23, paragasu <parag...@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-requ...@lists.debian.org >> with a subject of "unsubscribe". Trouble? Contact listmas...@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 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org