To uninstall a package in linux LINK
Bash autocomplete
To autocomplete the apt-get install package install
apt-get install bash-completion
Install
For deb package command line
dpkg -i package_name.deb
For deb package gdebi
gdebi package_name.deb
For apt-get
apt-get install package_name
List all packages
dpkg -- list
Uninstall
Remove package and purge residual files with apt-get
apt-get --purge remove package_name
Remove package and purge residual files with dpkg
dpkg --remove package_name
Or
dpkg –r package_name.deb
Remove broken packages
apt-get clean && apt-get autoremove
sudo apt-get -f install
dpkg --configure -a