Debian/Ubuntu: See what "apt" would install without actually doing it

Simply add --dry-run, like this:

sudo apt-get install --dry-run something

This is great if packages would get updated and you want to easily see which version they will receive.

Arne Hartherz About 13 years ago