apt-get

Debian package tool

high risk

interactive breakdown — edit the command and press Explain
$ 
⚠ Risks & cautions
Safer / dry-run alternatives
apt-get -s <action> <pkg>Simulate
What it does

Scriptable apt interface. See the flags and examples below, and run `man apt-get` for the full reference.

Common flags
FlagMeaning
-sSimulate
-yAssume yes⚠ Skips confirmation prompts.
installInstall
removeRemove
dist-upgradeUpgrade with dependency changes
Examples
apt-get -s upgradeSimulate an upgrade · explain & risk-check →
Related
apt dpkg
Open the full explainer →More in Packages & Build

Reference text is hand-written and may be incomplete — check man apt-get for your version. Test destructive commands on a non-production system first.