PDA

View Full Version : [ubuntu] How I can download packages instead of installing them



pedramslhr
July 11th, 2008, 06:18 PM
hi
I'm using Ubuntu 8.04
do you know how i can download packages to install them from my computer and for archive purposes?
tanx!

avtolle
July 11th, 2008, 06:32 PM
From memory: open Synaptic; click on Packages, then Preferences; IIRC, there is a radio button to select the text to which says something akin to leave in cache only. Click that, hit apply, and exit Synaptic.

toolzen
July 11th, 2008, 06:58 PM
or from the cli:

# apt-get -d package-name

pedramslhr
July 11th, 2008, 07:08 PM
From memory: open Synaptic; click on Packages, then Preferences; IIRC, there is a radio button to select the text to which says something akin to leave in cache only. Click that, hit apply, and exit Synaptic.
I found the radio button
and installed a package,
now a ".deb" file should be found in cache folder or its subfolders. yes?
tanx

avtolle
July 11th, 2008, 07:17 PM
It stays, as I recall, in the cache. There's another thread on the Forum today about moving the file to another system, look around and you will (hopefully) find it.

pedramslhr
July 11th, 2008, 07:21 PM
or from the cli:

# apt-get -d package-name

so where the downloaded file will be stored?
and how i can know the package name that should be used.(from synaptic?)
can you please show with an example?
tanx

avtolle
July 11th, 2008, 07:26 PM
Read this thread through: http://ubuntuforums.org/showthread.php?t=856380 I think it answers your questions.