LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
LinkBack Search this Thread
Old 03-31-2006, 04:45 PM   #1
Lastomega
LQ Newbie
 
Registered: Mar 2006
Distribution: Fedora Core 5
Posts: 25

Rep: Reputation: 15
Arrow 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?
 
Old 03-31-2006, 06:19 PM   #2
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 47
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.
 
Old 03-31-2006, 06:36 PM   #3
Lastomega
LQ Newbie
 
Registered: Mar 2006
Distribution: Fedora Core 5
Posts: 25

Original Poster
Rep: Reputation: 15
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"
 
Old 03-31-2006, 06:46 PM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
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"

Last edited by pixellany; 03-31-2006 at 06:47 PM.
 
Old 03-31-2006, 06:49 PM   #5
Lastomega
LQ Newbie
 
Registered: Mar 2006
Distribution: Fedora Core 5
Posts: 25

Original Poster
Rep: Reputation: 15
Once I find that (if I find that) where are the packages?
 
Old 03-31-2006, 06:52 PM   #6
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
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?
 
Old 03-31-2006, 06:54 PM   #7
Lastomega
LQ Newbie
 
Registered: Mar 2006
Distribution: Fedora Core 5
Posts: 25

Original Poster
Rep: Reputation: 15
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.
 
Old 03-31-2006, 07:00 PM   #8
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
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.
 
Old 03-31-2006, 07:02 PM   #9
Lastomega
LQ Newbie
 
Registered: Mar 2006
Distribution: Fedora Core 5
Posts: 25

Original Poster
Rep: Reputation: 15
I installed linux on my computer 2 days ago. would it be worth it to sit through the installation process again?
 
Old 03-31-2006, 07:17 PM   #10
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
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......
 
Old 03-31-2006, 07:26 PM   #11
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
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.
 
Old 03-31-2006, 08:59 PM   #12
Lastomega
LQ Newbie
 
Registered: Mar 2006
Distribution: Fedora Core 5
Posts: 25

Original Poster
Rep: Reputation: 15
I found the add/remove software thing, but it says 'unable to retrieve software information.'
 
Old 03-31-2006, 10:28 PM   #13
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 3,990

Rep: Reputation: 261Reputation: 261Reputation: 261
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
make fail with: gcc-3.4 command not found andy101 Ubuntu 3 11-27-2005 01:45 AM
makefile gcc command cannot be found Mogul83 Programming 7 05-31-2005 03:11 AM
bash: gcc: command not found sandbag Linux - Software 8 05-05-2005 12:17 PM
VSFTPD make: gcc: Command not found Exutable Linux - Software 4 04-06-2005 02:15 PM
Error Message gcc: Command not found Schmurff Fedora 2 09-27-2004 12:23 PM


All times are GMT -5. The time now is 03:18 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration