If I install something from a .deb, how to remove it?
g.lip at gmx.com
Thu Jun 3 02:55:36 UTC 2010
On 06/03/2010 02:49 AM, Pete Vander Giessen wrote:
> dpkg has a "get-selections" option that will list installed software:
> To list everything installed in your system:
> $ dpkg --get-selections
> To stop from going insane on account of the length of the list:
> $ dpkg --get-selections | grep -i<sometext>
> where<sometext> is a reasonable guess as to what the package name
> might be. For example:
> $ dpkg --get-selections | grep -i virtualbox
> Tells me that that I have the packaged "virtualbox-3.2" installed.
> $ sudo dpkg --remove virtualbox-3.2
> would get rid of it.
Good one there, Pete.
Arshad, you're welcome?
Regards - Goh Lip
More information about the ubuntu-users