Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 04-05-2004, 12:04 PM   #1
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.

Old 04-05-2004, 12:34 PM   #2
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911
rpm -i <package name>

Old 04-05-2004, 12:52 PM   #3
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
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
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:15 AM.

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