I am studying computer science at Otago uni in New Zealand and we do most of our coding on Fedora based machines. I have installed fedora on my laptop so it is dual booting with windows vista.

The only problem I am currently faced with is that gcc does not come preinstalled - I have googled how to install it and it seems I am supposed to use the command "sudo yum install gcc" which seems to start working:

I am studying computer science at Otago uni in New Zealand and we do most of our coding on Fedora based machines. I have installed fedora on my laptop so it is dual booting with windows vista.

The only problem I am currently faced with is that gcc does not come preinstalled - I have googled how to install it and it seems I am supposed to use the command "sudo yum install gcc" which seems to start working:

Your error message looks like the Adobe repository is causing you trouble. Perhaps try again with

Code:

su -c 'yum --disablerepo=adobe-linux-i386 install gcc'

If that still fails, try running

Code:

su -c 'yum clean all'

(seems to be a nearly reflexive first fix when yum misbehaves!) then the install command.

If all that fails, too, you could try manually installing the libgcc and gcc rpms. You can navigate to these rpm files from http://download.fedora.redhat.com/pu...inux/releases/ (start by choosing the relevant version of Fedora, then "Everything"). Having downloaded them both to your disk, you can install with

Code:

su -c 'rpm -ivh <libgcc-filename.rpm> <gcc-filename.rpm>'

The pain with this manual approach is "dependency hell": it is possible that you will need other rpms installed first. I've had a quick look and I think you should have the other dependencies installed anyway, but sorry if I'm wrong.

Your error message looks like the Adobe repository is causing you trouble. Perhaps try again with

Code:

su -c 'yum --disablerepo=adobe-linux-i386 install gcc'

When I try this command it says another app is holding the yum lock

Quote:

Originally Posted by marriedto51

If that still fails, try running

Code:

su -c 'yum clean all'

(seems to be a nearly reflexive first fix when yum misbehaves!) then the install command.

Same thing happens with this command

Quote:

Originally Posted by marriedto51

If all that fails, too, you could try manually installing the libgcc and gcc rpms. You can navigate to these rpm files from **LINK** (start by choosing the relevant version of Fedora, then "Everything"). Having downloaded them both to your disk, you can install with

Code:

su -c 'rpm -ivh <libgcc-filename.rpm> <gcc-filename.rpm>'

The pain with this manual approach is "dependency hell": it is possible that you will need other rpms installed first. I've had a quick look and I think you should have the other dependencies installed anyway, but sorry if I'm wrong.

Hmm I'm running version 14 of fedora - there seems to be a lot of files in different sub directories to download - how do i download them all at once and keep the structure?

What version of Fedora? If it is an older, unsupported version you will likely have issues with the repositories. They will either be unavailable or you will need to specify an alternate archive url.
Is there a proxy involved?

Fedora 14. How do I tell if there is a proxy involved? I have to use a proxy to use bittorrent.

How do I tell if there is a proxy involved? I have to use a proxy to use bittorrent.

Personally I don't know a clever way to find out about any proxy you might be behind. Ask the uni sys admins if one is in use, perhaps? If you do find that you need to use a proxy IP address and port, you can specify it as part of the yum command with