1. use apt-get install
sudo apt-cache search lib*** search package
sudo apt-get install lib*** install package
sudo apt-get purge lib*** unistall package thoroughly
sudo apt-get remove lib*** unistall package, but leave the configuration
sudo apt-get update update the sources
sudo apt-get upgrade update all package the installed
sudo apt-cache depends *** get the *** package depends on what packages
sudo apt-cache redepends *** get what packages are depended by ***
2. use dpkg
dpkg -i ***.deb install a .deb package
dpkg -R /usr/local/soft install all .deb packages in /usr/local/soft
dpkg -unpack ***.deb unpackage a .deb package
3. use alien to install .prm
transform .rpm to .deb
sudo alien *.rpm
dpkg -i ***.deb
Reference