APT-GET
-
Clean up non-existent data
# apt-get autoclean
# apt-get update
# apt-get install <pkg>
# apt-get -Vsu -o Debug::pkgProblemResolver=yes dist-upgrade
# apt-get -Vu upgrade
# apt-get -Vu dist-upgrade
# apt-cache search <pkg>
# apt-get --purge remove <pkg>
DPKG
-
Install/Update package
# dpkg -i <pgk>
# dpkg -l *<pkg>*
# dpkg --search /path/to/file
#dpkg -L <pkg>
# dpkg -s <pkg>
SERVICES
-
Manage services at init levels.
# sysv-rc-conf
# update-rc.d