LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 03-06-2003, 08:44 PM   #1
bush
LQ Newbie
 
Registered: Feb 2003
Posts: 12

Rep: Reputation: 0
Angry need help for installation of gcc compiler


When I type "gcc -v" in Mandrake 9.0 to check gcc version, it displays:
bash: gcc: command not found.

How can I install gcc compiler, and which file packages are needed in order to install gcc in Mandrake 9.0?


thanks a lot.
 
Old 03-07-2003, 11:11 AM   #2
crichards
Member
 
Registered: Feb 2003
Location: Arizona
Distribution: Gentoo!
Posts: 124

Rep: Reputation: 15
On your CD, look for the packages named "gcc-something.something.rpm"

Then, type rpm -ivh gcc-*.rpm

That should do it.
 
Old 05-13-2003, 05:13 PM   #3
bush
LQ Newbie
 
Registered: Feb 2003
Posts: 12

Original Poster
Rep: Reputation: 0
Thanks crichards.

The GCC installed from Mandrake 9 CD(gcc-something.something.rpm) is the same as GCC installed from source code(gcc-version.tar.gz) if they are the same version(gcc-2.95)?
Can they both be used to compile kernel?

thanks.
 
Old 05-13-2003, 09:03 PM   #4
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
# Mandrake links
Mandrake home page
Mandrake Users website
Easy software management: Red Carpet
Maximum RPM
rpmfind
You didn't install the developmental packages? As root, command:
urpmi gcc
 
Old 05-16-2003, 06:47 AM   #5
bush
LQ Newbie
 
Registered: Feb 2003
Posts: 12

Original Poster
Rep: Reputation: 0
Thanks.

I got it.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fortran compiler gcc-g77 installation problem refp16 Linux - Software 6 11-26-2005 12:49 PM
GCC compiler .. pashupathinath Programming 1 10-21-2004 12:20 PM
GCC compiler installation v333k Linux - Newbie 5 08-20-2004 03:17 PM
GCC compiler aviceda Linux - Newbie 5 08-13-2004 06:55 AM
GCC compiler ionic Programming 3 05-10-2001 08:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration