Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to install gcc...

Status
Not open for further replies.

hendnov

Technical User
Feb 27, 2006
73
AU
Hi guys,

I wanna install gcc in the server for my login. Do I need root access or not ?

And could you guys give the idea about how to install it ? I've already downloaded the gcc-3.3.tar.gz, but after I extracted it, they're many files that I dont think I'll need it. There's no README file or installation guide something.

So yeah, I think I've got the source codes but I'm not sure how to install it. Any help thx ?
 
I think the README might be in a subdirectory called "Documentation" or something like that... theoretically you should be install it in your home directory without being root, but it could be awkward as the instructions will usually assume you are root.

Annihilannic.
 
What version of AIX are you running. You should download the rpm version of gcc based on your aix version. gcc is installed with root. Here is the link for all the rpm software you can add to aix.
Once you download the rpm you run the following command to install gcc.

this is the file for aix 5.2 gcc-3.3.2-5.aix5.2.ppc.rpm

rpm -hUq gcc-3.3.2-5.aix5.2.ppc.rpm

This will install gcc in /opt/freeware and make all the links needed to run. gcc will be linked in /usr/bin/gcc
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top