LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   adding packages from the shell (https://www.linuxquestions.org/questions/linux-newbie-8/adding-packages-from-the-shell-166472/)

jfranks214 04-05-2004 12:04 PM

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

Tinkster 04-05-2004 12:34 PM

Try
rpm -i <package name>


Cheers,
Tink

jfranks214 04-05-2004 12:52 PM

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.

hussar 04-05-2004 01:38 PM

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.

jfranks214 04-06-2004 02:47 PM

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.


All times are GMT -5. The time now is 03:25 PM.