Alex Rivera | Logout

How do I download a package from apt-get without installing it?

Asked 2010-12-11T22:14:48.307
126

I have a computer without a NIC, and I want to install some programs in it via USB memory, but how can I download a program from apt-get without installing it?

Edit
Report

1 Answer

135

Try

apt-get -d install <packages>

It is documented in man apt-get.

Just for clarification; the downloaded packages are located in the apt package cache at

/var/cache/apt/archives
answered 2010-12-11T22:16:34.737

Your Answer