LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   why cant i install gcc (https://www.linuxquestions.org/questions/linux-software-2/why-cant-i-install-gcc-117570/)

Ogledbyoldmen 11-18-2003 06:33 PM

why cant i install gcc
 
i copied the rpm for gcc from the cd to my computer but when i try and installl it wont install? help?
:(

hw-tph 11-18-2003 07:10 PM

Error messages are always useful to post whenever you have a problem. It really helps determining what could be the problem.

Back to your problem: gcc depends on a whole slew of other packages, which in turn depends on others. This is known as "rpm hell". :)
Installing just gcc won't cut it, you need to install a whole basic development environment. I haven't used it, but from posts here I am led to believe that RedHat in fact does have some sort of graphical, easy-to-use package manager. That should allow you to install gcc and its dependencies.

Or, copy over all the rpms listed as dependencies to the same directory as gcc and do an rpm -ivh *.rpm.

Håkan

bencl5 11-19-2003 01:22 AM

if you go to freshrpms.net there is a program called apt which uses repositories for package management. it's simple to install and has a graphical version known as synaptic. basically all you do is download those two rpms, installl apt first, then open synaptic. once synaptic is open update your respository list (the leftmost button) and then search for gcc. if your respository list updates correctly, it should find gcc and should not only download and install the package for you, but also download and install the neccesary dependancies.

P.S. apt and synaptic ROCK. every version of redhat should have this program!!!!;)

Ogledbyoldmen 11-19-2003 04:14 PM

sweet meat everything seems to be working fine


All times are GMT -5. The time now is 11:32 PM.