Ubuntu: Getting started


Package management

apt-get update
refresh available updates
apt-get upgrade
upgrade with package replacements; 
apt-get dist-upgrade
upgrade Ubuntu version
apt-get install pkg
install pkg
apt-get purge pkg
uninstall pkg
apt-get autoremove
Remove obsolete packages
apt-get -f install
try to fix broken packages
dpkg -i pkg.deb
install file pkg.deb (file)
dpkg --configure -a
try to fix broken packages

Info about the system

ls_release -a
 Find out used version