0

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 http://tinyprod.net/repos/debian squeeze main
deb http://tinyprod.net/repos/debian msp430-46 main

# TinyOS version 2.1.2
deb http://tinyos.stanford.edu/tinyos/dists/ubuntu lucid main
Dumbo
  • 1,912
  • try sudo apt-get --download-only <packagename> – blade19899 Sep 21 '12 at 09:31
  • you can browse those link find the package you need, here is the direct link to Tinyos version 2.1.2 http://tinyos.stanford.edu/tinyos/dists/ubuntu/pool/main/t/tinyos-2.1.2/tinyos-2.1.2_2.1.2-20120813_all.deb – blade19899 Sep 21 '12 at 09: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 Sep 21 '12 at 09:41
  • 1
    You want to download what you need or just backup your applications from your system?!!!!! –  Sep 21 '12 at 10:38

3 Answers3

4

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

3

Use APT on CD

The gui interface for backing up deb files!

enter image description here

Naveen
  • 9,365
  • 11
  • 43
  • 70
  • 1
    AptonCD backup installed packages but in his question he want to download and he didn't mention to backup installed packages –  Sep 21 '12 at 10:37
  • 1
    this is not the solution for the question –  Sep 21 '12 at 11:00
0

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