Edit previous commands in shell before running them
See what apt would install without actually installing the package:
$ sudo apt install --dry-run packagename
or
$ sudo apt install packagename --dry-run
See what apt would install without actually installing the package:
$ sudo apt install --dry-run packagename
or
$ sudo apt install packagename --dry-run