LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   gcc: Command not found (https://www.linuxquestions.org/questions/linux-newbie-8/gcc-command-not-found-430451/)

Lastomega 03-31-2006 04:45 PM

gcc: Command not found
 
I am trying to install a driver and an error came up in the terminal that says 'gcc: Command not found.' Did gcc not come with fedora core 5?

spooon 03-31-2006 06:19 PM

Depends on what you mean by "come with". There is a difference between some software being included in Core and being installed on your system (which is typically only a very small subset of the software included in Fedora Core).

Just install it with "yum install gcc", etc.

Lastomega 03-31-2006 06:36 PM

Ok, I went to the terminal and entered that (yum install gcc) and it came up with an error, "Cannot find a valis baseurl for repo: core"

pixellany 03-31-2006 06:46 PM

Quote:

Originally Posted by Lastomega
Ok, I went to the terminal and entered that (yum install gcc) and it came up with an error, "Cannot find a valis baseurl for repo: core"

Somewhere in the GUI menus there will be a configuration setting that tells it where to look for packages. In RHEL4, it's "Redhat network configuration"

OR---take a look at: "man yum" and "man yum.conf"

Lastomega 03-31-2006 06:49 PM

Once I find that (if I find that) where are the packages?

reddazz 03-31-2006 06:52 PM

Quote:

Originally Posted by Lastomega
Ok, I went to the terminal and entered that (yum install gcc) and it came up with an error, "Cannot find a valis baseurl for repo: core"

Do you have a net connection on that machine?

Lastomega 03-31-2006 06:54 PM

ironically I guess, I need it to set up my network adapter, so no. But I do have a laptop with me right now, and I can transfer files via cd-rws.

reddazz 03-31-2006 07:00 PM

Quote:

Originally Posted by Lastomega
ironically I guess, I need it to set up my network adapter, so no. But I do have a laptop with me right now, and I can transfer files via cd-rws.

You can install it from your installation discs if you don't have a net connection. Its usually better to install developemnt stuff during initial installation just in case you need them and can't access online repos.

Lastomega 03-31-2006 07:02 PM

I installed linux on my computer 2 days ago. would it be worth it to sit through the installation process again?

pixellany 03-31-2006 07:17 PM

Quote:

Originally Posted by Lastomega
I installed linux on my computer 2 days ago. would it be worth it to sit through the installation process again?

Why??

Get your network connection working, configure the package manager, and go hunting for SW......

reddazz 03-31-2006 07:26 PM

Quote:

Originally Posted by Lastomega
I installed linux on my computer 2 days ago. would it be worth it to sit through the installation process again?

The gcc rpms are available on your installation discs, so there is no need to reinstall. All you need to do is run the software installation tool (from somewhere in the menu) and look for gcc. Once thats done insert your installation discs when prompted.

Lastomega 03-31-2006 08:59 PM

I found the add/remove software thing, but it says 'unable to retrieve software information.'

btmiller 03-31-2006 10:28 PM

It's probably trying to look online. The gcc RPMs are on disks 1 and 2 -- you might look around for them. Alternatively, the system-config-packages util should be able to help. Getting your network going will make this much easier since you can just download from net repositories.


All times are GMT -5. The time now is 08:32 AM.