Skip to content

APT

Usage

Install package from .deb

Either use apt-get install ./{path to .deb} or dpkg -i {path to .deb} and then apt-get -f install if there are missing dependencies.

List all installed packages and their versions

apt list --installed

Debug

Fix half-installed package

apt install --reinstall [package]

askubuntu

Tips

alias uu='apt update && apt upgrade -y && apt-get autoremove -y'