Simply add --dry-run, like this:
--dry-run
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.