LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 12-15-2005, 04:54 AM   #1
fssengg
Member
 
Registered: Feb 2005
Location: Kerala(God's own country)
Distribution: Redhat-8
Posts: 35

Rep: Reputation: 15
Angry can't find c compiler in ubuntu


Hi All

I have installed ubuntu 5.04 for x86 in one of my systems.After that when i try to compile one c program using "cc test.c" i got an error saying that "cc" is not found in the system.Why is so?.is there any c compiler in ubuntu?
 
Old 12-15-2005, 06:02 AM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Did you try gcc as well?
 
Old 12-15-2005, 06:55 AM   #3
Diddy
LQ Newbie
 
Registered: Jan 2005
Location: Staffordshire UK
Distribution: Ubuntu & Linux Mint
Posts: 9

Rep: Reputation: 0
Use the package manager to install latest version of gcc-4.00
in fact you use that to install most things

this is very useful

http://ubuntuguide.org/
 
Old 12-15-2005, 10:01 AM   #4
kingsidy
LQ Newbie
 
Registered: Aug 2005
Location: US
Distribution: Ubuntu 5.10 686
Posts: 15

Rep: Reputation: 0
you can aso install build-essential package, which is basically going to install most the libraries needed for programming
 
Old 12-16-2005, 02:24 AM   #5
fssengg
Member
 
Registered: Feb 2005
Location: Kerala(God's own country)
Distribution: Redhat-8
Posts: 35

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by kingsidy
you can aso install build-essential package, which is basically going to install most the libraries needed for programming
How can I install the "build-essential package" ?.Is it in the rpm format?
 
Old 12-16-2005, 06:59 AM   #6
angkor
Member
 
Registered: Mar 2005
Location: Amsterdam
Distribution: Debian => Ubuntu => Mac Osx
Posts: 165

Rep: Reputation: 31
Quote:
Originally Posted by fssengg
How can I install the "build-essential package" ?.Is it in the rpm format?
Nope, Ubuntu is a Debian based distro and uses .deb files with Apt, the package manager.

In the terminal try:

sudo apt-get install build-essential

Alternatively you can use the Synaptic Package Manager (found in System -> Administration), which is a graphical front-end to Apt.
 
Old 12-16-2005, 03:57 PM   #7
adssse
Member
 
Registered: May 2005
Distribution: Ubuntu, Jolicloud
Posts: 136

Rep: Reputation: 15
Had this same question myself, thanks.
 
Old 12-22-2005, 05:06 PM   #8
siiib
LQ Newbie
 
Registered: Dec 2005
Posts: 18

Rep: Reputation: 0
well .. well.. well.. after being criticised for mentioning this very fact.. 'ooh you don't need it.. ' bleated the faithful.. what a bunch of crap..

have a look here..

http://distrowatch.com/weekly.php?issue=20051219#2

hth
 
  


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
c++ compiler doesn't find library Y0jiMb0 Linux - General 7 12-27-2010 05:27 AM
C/C++ compiler for Ubuntu 5.04 crash_override_me Ubuntu 8 11-17-2008 04:35 AM
Can`t find C-compiler in Debian ,or at least can`t find one that can make executables hemmelig Linux - Software 4 05-26-2008 03:07 AM
Where can I find a BC compiler. vash_stewy Linux - Software 5 04-09-2004 10:51 PM
Cant find a C-compiler Sence2001 Red Hat 6 04-08-2004 07:03 AM


All times are GMT -5. The time now is 06:57 AM.

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