LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 05-08-2005, 07:52 PM   #1
sandman545
Member
 
Registered: May 2005
Posts: 43

Rep: Reputation: 15
c compiler


i was trying to install a program and it said it cant find a c compiler im 99.9% it mean a c++ compiler but not sure if so any good ones i should know about

oy i run kubuntu-5.04-amd64
 
Old 05-08-2005, 08:01 PM   #2
ksgill
Senior Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044

Rep: Reputation: 45
http://gcc.gnu.org/
This site has a compiler collection for various programming languages.
 
Old 05-08-2005, 08:36 PM   #3
sandman545
Member
 
Registered: May 2005
Posts: 43

Original Poster
Rep: Reputation: 15
i feel so stupid but wat exactly am i suppose to download theres like 50 billion things to download
 
Old 05-08-2005, 09:22 PM   #4
a thing
Member
 
Registered: Jan 2005
Distribution: Fedora Core 4 Test 3/3.92, Fedora Core 3
Posts: 45

Rep: Reputation: 15
Enter "cc" in the command prompt. If "cc: no input files" comes up then for some strange reason the program didn't detect your compiler and you already have one.
 
Old 05-08-2005, 09:22 PM   #5
mala fide
Member
 
Registered: Nov 2004
Location: Espoo, Finland
Distribution: Kubuntu 7.10
Posts: 48

Rep: Reputation: 15
I don't know about kubuntu but in suse you can just select gcc packages from yast. Most likely there is something similar in kubuntu... you know, a package handler thingie.
 
Old 05-09-2005, 05:07 AM   #6
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
If you are running Kubuntu, do in a consle as root,
Code:
#apt-get update
#apt-get install gcc
gcc will be installed and all dependencies automatically resolved. To install g++ (the c++) compiler, you would use either gcc-c++ or just g++ (I am not sure which one exactly).
 
  


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
checking for C compiler default output... configure: error: C compiler cannot create fiorejm Linux - Software 6 11-12-2009 12:35 PM
C++ IDE+Compiler?Java IDE+compiler? Boby Linux - Software 3 05-31-2005 01:12 PM
Compiler conundrum: Which came first, a compiler, or it's source code? fr0zen Programming 21 01-29-2004 04:31 AM
No compiler to compiler the compliler NewtonIX Linux - Newbie 13 11-03-2003 05:32 AM
compile a compiler without a compiler? lackluster Linux - General 18 01-02-2003 07:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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