LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-05-2004, 12:04 PM   #1
jfranks214
Member
 
Registered: Feb 2004
Distribution: OpenBSD, FreeBSD
Posts: 70

Rep: Reputation: 15
adding packages from the shell


Probably a real noob question:

Fedora is installed on my system but due to old hardware I'm not running any gui. I need to add the c compilers from the fedora disks.

Can someone please tell me how to do this from the shell? I mounted the first cd but from there I was stumped. I tried booting with the cd in the drive, thinking perhaps that during an "upgrade" I could add the packages.... but alas it was not to be.

I'm sure there's a simple way to do this, I just don't know what it is.

Thanks in advance to all.

Jonathan
 
Old 04-05-2004, 12:34 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Try
rpm -i <package name>


Cheers,
Tink
 
Old 04-05-2004, 12:52 PM   #3
jfranks214
Member
 
Registered: Feb 2004
Distribution: OpenBSD, FreeBSD
Posts: 70

Original Poster
Rep: Reputation: 15
thanks, I was hoping i could somehow launch the installer so I could get descriptions of the packages and select them and whatnot. I'm able to access the list of packages on the cd's now but I don't know which ones I need.
 
Old 04-05-2004, 01:38 PM   #4
hussar
Member
 
Registered: Oct 2003
Location: Heidelberg, Germany
Distribution: Slackware 11.0; Kubuntu 6.06; OpenBSD 4.0; OS X 10.4.10
Posts: 345

Rep: Reputation: 30
What happens if you mount the cd to /mnt/cdrom and then give it `find /mnt/cdrom -name gcc* -print`?

If that comes up with a list of rpms, I would imagine you would find all of the compiler stuff in the same directory as the files shown in the list.
 
Old 04-06-2004, 02:47 PM   #5
jfranks214
Member
 
Registered: Feb 2004
Distribution: OpenBSD, FreeBSD
Posts: 70

Original Poster
Rep: Reputation: 15
Okay this worked like a charm. Found and installed, thanks!

I did a lot of unecessary leg work on this i guess, but I suppose that that's what being a newbie is all about. Thanks again folks.
 
  


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
adding packages samseed Linux - Software 3 09-25-2005 10:44 AM
VL Packages (adding/upgrading/slackware) Winno VectorLinux 2 02-06-2005 01:59 AM
Adding new packages from fedora dvd Dakkar Linux - Newbie 3 10-05-2004 02:18 PM
Adding packages redhat 9.0 thepez Linux - Newbie 1 09-11-2003 03:32 PM
adding packages adam_boz Linux - General 5 08-05-2002 11:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:12 AM.

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