apt

Usage

apt [options] [command]

Flags

list - list packages based on package names
search - search in package descriptions
show - show package details
install - install packages
reinstall - reinstall packages
remove - remove packages
autoremove - Remove automatically all unused packages
update - update list of available packages
upgrade - upgrade the system by installing/upgrading packages
full-upgrade - upgrade the system by removing/installing/upgrading packages
edit-sources - edit the source information file
satisfy - satisfy dependency strings

Examples

Update local repositories

apt update

Install all updates

apt update

Update specific package

apt --only-upgrade install <package>

Fix dependencies

apt --fix-broken install

Remove program and dependencies

apt install -f <package>.deb

Also see

N/A