How can I download a package and all of its dependencies with apt-get

Posted by Velislav Marinov on Server Fault See other posts from Server Fault or by Velislav Marinov
Published on 2012-11-24T21:33:23Z Indexed on 2012/11/24 23:05 UTC
Read the original article Hit count: 278

Filed under:
|
|

I'm using Ubuntu 12.04 and I would like to use apt-get to download a package and all of it's depenedcies. Those packages will have to be installed on computers with no internet connection, so in addition to the base package I also need to all of the package's dependcies as well. Is there an easy way to do this (like in muon package manager)?

I now that I can use the apt-get download command for this, but I don't want to manually specify each package that muon recommends to install or upgrade.

© Server Fault or respective owner

Related posts about linux

Related posts about apt