Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 05-03-2012, 10:45 PM   #1
Registered: May 2012
Posts: 58

Rep: Reputation: Disabled
install c compiler

i want to run c programs. can u tell the step-by step procedure for it. because i am new in ubuntu. how can i install c compilers. please give me the cmd code too.
Old 05-03-2012, 11:06 PM   #2
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
You don't need a c compiler to run c programs.

The C compiler front end is gcc. For C++, install g++.

The "build-essential" package should install the c compiler, and other programs such as make.
1 members found this post helpful.
Old 05-04-2012, 05:06 AM   #3
LQ Newbie
Registered: Feb 2012
Location: Indonesia
Distribution: Slackware, Centos, Debian, RHEL
Posts: 13

Rep: Reputation: Disabled
You can try:

sudo apt-get install build-essential
1 members found this post helpful.


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
Uncertain how to configure/install packages & compiler before install VMware on FC8. Azazwa Linux - Newbie 1 03-28-2009 07:27 PM
So I need a C compiler to install a c compiler. Makes sense. vic305 Linux - Software 8 12-17-2008 10:30 PM
How to install G++ compiler zensunni Linux - Newbie 4 02-20-2008 08:09 AM
Install C compiler rollinpark Linux - Software 6 01-26-2005 02:03 AM
Trying to install a c compiler Sabastian Linux - Software 4 06-25-2003 11:14 AM > Forums > Linux Forums > Linux - Newbie

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

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