How Do I Uninstall an Installed Deb File?

Asked by taurus

Yesterday, I had installed a .deb program and now I want to know how I can uninstall it. When I attempted to uninstall it using: ' sudo dpkg -r x5250llpddk_2.0-4_i386.deb'. I got the following error message:

x@xx:~$ sudo dpkg -r x5250llpddk_2.0-4_i386.deb
[sudo] password for x:
dpkg: you must specify packages by their own names, not by quoting the names of the files they come in

Type dpkg --help for help about installing and deinstalling packages [*];
Use `dselect' or `aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;
Type dpkg --license for copyright license and lack of warranty (GNU GPL) [*].

Options marked [*] produce a lot of output - pipe it through `less' or `more' !
x@xx:~$

How do I uninstall it?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
taurus
Solved:
Last query:
Last reply:
Revision history for this message
Jim Hutchinson (jphutch) said :
#1

You did the right thing, just got the name wrong. Try using the actual name of the program rather than the downloaded file name. For example, if you wanted to remove firefox use

sudo dpkg -r firefox

Hope that helps.

Revision history for this message
taurus (taurusxz) said :
#2

Jim Hutchinson, what you suggested did the trick. Thanks a million !!!! As a metter of fact, terminal spewed this out, just to let you know:

x@xx:~$ sudo dpkg -r x5250llpddk
(Reading database ... 97090 files and directories currently installed.)
Removing x5250llpddk ...
Processing triggers for libc6 ...
ldconfig deferred processing now taking place

Thanks a whole bunch !!!!