ubuntu install uninstall

apt-get

install
apt-get install <pkg>
確認
apt-cache search <pkg>
uninstall
apt-get --purge remove <pkg>
uninstall
apt-get remove <pkg>

設定ファイルは消さない

dpkg

install
dpkg -i <pkg>.deb
確認
dpkg -l 
uninstall
dpkg -r <pkg>

aptitude

install
aptitude install <pkg>
確認
aptitude search <パターン>
uninstall
aptitude purge <pkg>
uninstall
aptitude remove <pkg>

設定ファイルは消さない