How can I download package A
which depends on A-1
and A-2
, which depend on A-1-1
, A-1-2
, A-2-1
, A-2-2
, A-2-3
etc.
So, that when I entered in a new computer without internet access, if I want to install package A
I only need to do dpkg -i *.deb
without any complain about the dependences issues.
Please note that I need download all the dependences, the best approach by far is the accepted answer!
package
by the package name I want download. I did the following:sudo apt-get -o dir::cache::archives="~/build-essential" -d install build-essential
. It download nothing, and report:build-essential is already the newest version (12.1ubuntu2).
– an offer can't refuse Sep 01 '16 at 10:53