On Thu, 25 Feb 2016 16:32:47 +0800
Bret Busby <bret.bu...@gmail.com> wrote:

> Is there a way (a switch for the apt-get command?) to download all of
> the dependencies? I have looked at man apt-get, and, that has an
> option "download" (as opposed to install or find), but I could not
> find, from the man entry for apt-get, how to download the package and
> all of its dependencies; that is, to download the particular package,
> and, its dependency packages, so that they can be stored, and,
> installed (or, tried to be installed) on different systems as wanted.

Try 'sudo apt-get install --download-only packagename'. Any downloaded
packages should end up in /var/cache/apt/archives.

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."

Reply via email to