Section: APT and Debian/Ubuntu

Install package

bash
bash
sudo apt install nginx curl jq
Explanation

APT resolves dependencies automatically.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing APT and Debian/Ubuntu
Refresh package index
Download latest package metadata.
OpenIn sheetbashsame section
Upgrade installed packages
Upgrade installed packages without removing old ones.
OpenIn sheetbashsame section
Perform full upgrade
Handle dependency changes and package removals if needed.
OpenIn sheetbashsame section
Remove package
Remove a package but keep config files.
OpenIn sheetbashsame section
Purge package and config
Remove package plus configuration files.
OpenIn sheetbashsame section
Search package names and descriptions
Find packages matching a query.
OpenIn sheetbashsame section