apt-get -d install 和 apt-get download 的区别:
1) Try both without sudo,
apt-get download
will pass andapt-get -d install
will fail (root required)
2) By default
apt-get -d install
will save .deb in/var/cache/apt/archives
andapt-get download
in current directory
3)
apt-get download
is newer, you wouldn't even find it in the old versions
参考文章:https://askubuntu.com/questions/463380/difference-between-apt-get-d-install-apt-get-download