LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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, 08: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, 09: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, 09: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, 10: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, 10: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, 06:07 AM   #6
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 74
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


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



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 01:35 PM
C++ IDE+Compiler?Java IDE+compiler? Boby Linux - Software 3 05-31-2005 02:12 PM
Compiler conundrum: Which came first, a compiler, or it's source code? fr0zen Programming 21 01-29-2004 05:31 AM
No compiler to compiler the compliler NewtonIX Linux - Newbie 13 11-03-2003 06:32 AM
compile a compiler without a compiler? lackluster Linux - General 18 01-02-2003 08:55 PM


All times are GMT -5. The time now is 10:37 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration