Getting ubuntu repos

Asked by vivek

I have installed ubuntu 7.04 in my laptop from a live cd. However, I don't have an internet connection in my laptop. How can i get extra repos of ubuntu.
I mean like in windows, i can just take my pen drive to a cyber cafe, download the required setup files and come back and install them in my comp. Is such a thing possible with ubuntu ?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Cesare Tirabassi (norsetto) said :
#1

It is indeed possible, but not very easily as it requires you to manually track all dependancies.
You can manually download the packages (those ending with .deb) from the ubuntu archive at archive.ubuntu.com; note that you have to download the appropriate version which depends from your ubuntu version (you can check this at packages.ubuntu.com), the appropriate architecture (i386, etc.) which depends on the architecture for which you installed ubuntu (you can check this with a uname -m command) as well as ALL required dependancies (again, you can check this at packages.ubuntu.com).
Once you have the required packages, you can install them manually, by using the dpkg command. For instance to install the package pingus_0.6.0-8.4ubuntu1_i386.deb you will give this command:

sudo dpkg -i pingus_0.6.0-8.4ubuntu1_i386.deb

You can also use gdebi, which is a graphic frontend.
Alternatively, you can setup your local repository; please check this link:

http://www.debian.org/doc/manuals/apt-howto/ch-basico.en.html#s-dpkg-scanpackages

on how to do this.

Can you help with this problem?

Provide an answer of your own, or ask vivek for more information if necessary.

To post a message you must log in.