Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
How can I install software or packages without Internet (offline)?

Is there a way to store deb packages (all or a specific version of package) on a local media (dvd, usb etc...) so later I would be able to install those packages on a PC which does not have Internet connection?

For example, these are the packages that I want to install on a PC which doesn't have Internet connection:

# TinyOS MSP430 GCC Compiler Repository
# Version 4.6.3
deb squeeze main
deb msp430-46 main

# TinyOS version 2.1.2
deb lucid main
share|improve this question

marked as duplicate by Takkat, Anwar Shah, jokerdino, hexafraction, January Sep 21 '12 at 11:03

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

try sudo apt-get --download-only <packagename> – blade19899 Sep 21 '12 at 9:31
you can browse those link find the package you need, here is the direct link to Tinyos version 2.1.2… – blade19899 Sep 21 '12 at 9:37
Want to only store packages which are downloaded? You can find them in /var/cache/apt/archives folder. If you also want to install them locally without using Internet on another pc, look at the above link – Anwar Shah Sep 21 '12 at 9:41
You want to download what you need or just backup your applications from your system?!!!!! – user61928 Sep 21 '12 at 10:38
up vote 4 down vote accepted

You can download the deb only by the command

sudo apt-get --download-only <packagename>

Then you can burn the files to your DVD and make the DVD as a software source using synaptic or Ubuntu Software Center

Else you can make your own local repository. read this to get it

share|improve this answer

Use APT on CD

The gui interface for backing up deb files!

enter image description here

share|improve this answer
AptonCD backup installed packages but in his question he want to download and he didn't mention to backup installed packages – user61928 Sep 21 '12 at 10:37
this is not the solution for the question – user91632 Sep 21 '12 at 11:00

you can download all needed softwares and updates through software center or Synaptic and then take a copy of you /var/cache/apt/archives and them on the offline machine do a sudo dpkg -i *.deb

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.