LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 08-10-2006, 04:45 AM   #1
pete_007ke
LQ Newbie
 
Registered: Aug 2006
Posts: 2

Rep: Reputation: 0
Additional software of my Ubuntu system


greetings everybody,

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?

Regards,
Pete.
 
Old 08-10-2006, 06:50 AM   #2
nuxrl
Member
 
Registered: Jun 2006
Location: NY, USA
Distribution: Slackware, Arch
Posts: 176

Rep: Reputation: 35
From your desktop,

System->Administration->Synapic Package Manager

search & install packages.
 
Old 08-10-2006, 06:47 PM   #3
randell6564
Member
 
Registered: Nov 2005
Location: California USA
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634

Rep: Reputation: 31
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.
 
Old 08-10-2006, 06:53 PM   #4
fragos
Senior Member
 
Registered: May 2004
Location: Fresno CA USA
Distribution: Ubuntu 10.10
Posts: 1,466

Rep: Reputation: 51
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.
 
Old 08-10-2006, 07:10 PM   #5
randell6564
Member
 
Registered: Nov 2005
Location: California USA
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634

Rep: Reputation: 31
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.
 
Old 08-10-2006, 08:36 PM   #6
nuxrl
Member
 
Registered: Jun 2006
Location: NY, USA
Distribution: Slackware, Arch
Posts: 176

Rep: Reputation: 35
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?
 
Old 08-10-2006, 10:46 PM   #7
randell6564
Member
 
Registered: Nov 2005
Location: California USA
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634

Rep: Reputation: 31
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.
 
Old 08-12-2006, 03:17 PM   #8
robbbert
Member
 
Registered: Oct 2005
Location: Hannover, Germany
Distribution: Let there be Ubuntu... :o)
Posts: 573

Rep: Reputation: 32
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.
 
Old 08-12-2006, 03:28 PM   #9
robbbert
Member
 
Registered: Oct 2005
Location: Hannover, Germany
Distribution: Let there be Ubuntu... :o)
Posts: 573

Rep: Reputation: 32
Oops,
Quote:
Originally Posted by nuxrl
apt-get --download-only install package-name
that should be a valid solution! I've checked that out but can't seem to find the downloaded packages, at any rate?

Thanks
 
Old 08-12-2006, 04:07 PM   #10
nuxrl
Member
 
Registered: Jun 2006
Location: NY, USA
Distribution: Slackware, Arch
Posts: 176

Rep: Reputation: 35
Rob,

Try these steps,

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"
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I install additional no my Ubuntu system pete_007ke Ubuntu 2 08-09-2006 01:24 PM
Additional modules to load with system boot ? hq4ever Debian 2 03-14-2006 12:52 AM
installing additional software as admin? radiojohn Linux - Newbie 2 08-07-2004 01:37 PM
adding an additional partition to my freebsd system catenary *BSD 8 06-23-2004 05:11 PM
? on installing additional software in Linux eroica Linux - Software 6 10-09-2003 01:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 05:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration