Ina nut shell, how the hell do I install a RPM in RedHat9? Am I doing something wrong? Can you not just OPEN a RPM file? Is there a RMP manager (I looked but could not see one)?
I'm not sure I do correct understand your question regarding "just OPEN a RPM file". RPM is a special format do bundle an installabale package. The RPM-based OSes, such like RedHat, SuSE, Fedora and etc., come with one standard RPM manager called [/B]rpm[/B]. Typing from a console the command man rpm
will give you alot of information about what and how the RPM manager works. There's another advanced RPM manager called apt4rpm, but it is not a standard distribution package and it might be needed to download it from the INet.
Now to your primary question regarding the GCC installation. Checking GCC's package alone does not satisfy the requirements of the dependancy the GCC has. It depends on many other packages and compiler utilities. If you has the option, check in your RedHat Setup application the option "Automatic check/resolve dependancies". The option should sound alike, I do not have RedHat, and thus do not know how the Add/Remove Software manager is really called.
If a RPM package has unresolved dependancies, when it is about to be installed, the installation will fail of course. You might want to try this command line and then post the results here. Probably you have problem with brocken package dependancies, so the output of the rpm
command will be helpful.
Open a console and there logged in as root (type su -
) type this command (for example)
rpm -Uvh gcc-3.2.1-i586.rpm
Of course, you might replace the gcc-3.2.1-i586.rpm
name with whatever name has your GCC package.
RPM will give you feedback on what it does and what went wrong in case something went wrong.
Post here the output of that command.