On Debian, I can download a package plus its dependent packages with
apt-get install my_desired_package --download-only
This will not install the packages, but only download them to
/var/cache/apt/archives/. If I want to install the previously downloaded packages later, how would I do it (suppose I am offline)?
I can install one package with
dpkg -l package1 but only if all dependencies are met.