Uninstall Debian Packages

How to uninstall a package install with dpkg -i (by oppostiton to apt-get)

Run the command

dpkg –get-selections > mypackages.txt

to have the list of all packacges installed into the file “mypackages.txt”

Look for the name of the package to uninstall/remove

and run the command

sudo dkpg -r "name of the package"