LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   gcc instal (https://www.linuxquestions.org/questions/linux-software-2/gcc-instal-761544/)

siaswar 10-13-2009 03:18 AM

gcc instal
 
I use fedora 11 live-CD version. it not included gcc by defult, so I want to install it. well, In http://gcc.gnu.org/mirrors.html each mirror contain a lot of folder that confused me which one should be install. and gcc require many software be install before. is here a complete package of gcc and easy to download.
I'm completely newbie.
>>> I should download in windows because even installing modem software need gcc
thanks

jmc1987 10-13-2009 03:32 AM

When you install you should have an option to select development tools. Anyways try

Code:

# yum -y install gcc

siaswar 10-13-2009 03:48 AM

Quote:

Originally Posted by jmc1987 (Post 3717372)
When you install you should have an option to select development tools. Anyways try

Code:

# yum -y install gcc

I have not any internet or network connection in linux! How can I install by yum -y install gcc

I want to download rpm package. How can I download it and from http://gcc.gnu.org/mirrors.html and how can I install it.

I also have a fedora 12 alpha cd. is possible I install gcc from it. it requre a dozen of software and each software need another dozen of software. I think it's very very very hard for a newbie.

jmc1987 10-13-2009 03:56 AM

Installing with a rpm you might run into problems and you will have to satisfy it in order to install. I would recommend install via yum so it takes care of all dependancys. If you are new on Linux it would be the best way.

For you internet connection are you just unable to connect because its no fully setup? You may need to setup your ip address /etc/hosts and your name server resolvers in /etc/resolv.conf

Once your online then you can run #yum -y install gcc and it will work from there. But if you can't do this then please reply and we'll see what we can figure out for you

I just realize you said you are using the live cd. You should install it on your hardrive befor installing anything or otherwise you will run out of memory

knudfl 10-13-2009 04:45 AM

Fedora 11 packages are here
http://download.fedora.redhat.com/pu...x/releases/11/

updates
http://download.fedora.redhat.com/pu...ux/updates/11/

direct link to gcc ( i386 )
http://download.fedora.redhat.com/pu...4.0-4.i586.rpm
.....


All times are GMT -5. The time now is 09:12 AM.