UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
you'll have to excuse me if my question sounds a little moronic. I'm new at this whole linux thing, so hey!!
Anyway, my problem is very straightforward: I'm trying to install additional software on my Ubuntu system that did not come with the CD. stuff like c,c++,gcc,g++, Apache,php,MySql etc. My computer is not connected to the internet so i'm forced to download the packages on a separate computer and transfer them to the Ubuntu machine.
I have tried installing them using the "dpkg" command but i keep getting problems with dependencies. Can anybody give my a complete step-by-step guide on how i can go about this?
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634
Rep:
Quote:
Originally Posted by nuxrl
From your desktop,
System->Administration->Synapic Package Manager
search & install packages.
You would be correct if pete was connected to the internet on the box that he wants to install packages on, but he's not. He needs his packages from the repo's.
A package called "build-essentials" will install whats needed for most compiles like gcc and make. You will want to tell Synaptic to use all repositories. By default only the basic repositories are included. You'll see terms like universe and multiverse. You want them to give access to the complete suite of Ubuntu software.
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634
Rep:
Quote:
Originally Posted by fragos
A package called "build-essentials" will install whats needed for most compiles like gcc and make. You will want to tell Synaptic to use all repositories. By default only the basic repositories are included. You'll see terms like universe and multiverse. You want them to give access to the complete suite of Ubuntu software.
Yes, but how is he suppose to get packages from the repo's if he is not connected to the net?
He wants to know if he can retrieve the needed packages using another box that IS connected and then transfer those packages to HIS box that is NOT connected, and install them.
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634
Rep:
Quote:
Originally Posted by nuxrl
pete & randell
Sorry, I didn't notice the system is not connected to the net.
Would apt-get --download-only option on the box that is connected to the net work for pete's case?
That sounds like a workable plan! As long as someone can tell him where to find the packages. I know, I'm not much help here, but I have never tryed to transfer files in linux.
While there is not only a CD version of Ubuntu, but a DVD version too, there's still the problem that "Ubuntu" makes up several GigaBytes (my estimate: 20-30 GB?) of - compressed - software.
I'm attaching to this thread in order to get a notification when some - urgently awaited - tool will be announced, that downloads a given package alltogether with its dependencies - to be installed alltogether, offline.
1. sudo cp /etc/apt/apt.conf /etc/apt/apt.conf.saved
2. replace the line in /etc/apt/apt.conf with "APT::Get:ownload-Only;"
3. sudo apt-get update
4. when you install a package later on, the *.deb files are downloaded only and saved in /var/cache/apt/archives.
You can copy them around and installed on other boxes by "sudo dpkg --install"
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.