gcc compiler | Unix Linux Forums | Ubuntu

  Go Back    


Ubuntu Ubuntu is a complete desktop Linux operating system, freely available with both community and professional support.

gcc compiler

Ubuntu


Tags
linux, ubuntu

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 07-14-2008
villanarun villanarun is offline
Registered User
 
Join Date: Feb 2008
Last Activity: 24 January 2010, 7:34 AM EST
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
gcc compiler

where to download gcc compiler for ubuntu?
how to install?
how to build and run "c programs"?
screen shots if possible.....
tutorials too
Sponsored Links
    #2  
Old 07-14-2008
Franklin52's Avatar
Franklin52 Franklin52 is offline Forum Staff  
Moderator
 
Join Date: Feb 2007
Last Activity: 19 September 2014, 2:11 PM EDT
Location: The Netherlands
Posts: 7,716
Thanks: 123
Thanked 537 Times in 507 Posts
You also have to install the build-essential package with gcc:


Code:
sudo apt-get install gcc build-essential

For tutorials check this link:

http://www.unix.com/answers-frequent...tutorials.html

Regards
Sponsored Links
    #3  
Old 07-15-2008
osulinux osulinux is offline
Registered User
 
Join Date: Jun 2008
Last Activity: 18 September 2009, 9:38 AM EDT
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Does ubuntu not come with gcc installed? Isn't that pretty much sacrilege. Have you tried typing gcc on the command line, see what happens.
    #4  
Old 07-15-2008
jhtrice's Avatar
jhtrice jhtrice is offline
Registered User
 
Join Date: Jun 2008
Last Activity: 10 September 2010, 7:09 AM EDT
Posts: 75
Thanks: 0
Thanked 1 Time in 1 Post
I think the default server installation does not include gcc. It seems to me a had to use apt-get to install it. I'm new to ubuntu. Some of the default installation choices seemed odd to me.
Sponsored Links
    #5  
Old 07-24-2008
mark54g mark54g is offline Forum Advisor  
Registered User
 
Join Date: May 2008
Last Activity: 26 July 2013, 11:43 AM EDT
Location: Northeastern United States
Posts: 918
Thanks: 1
Thanked 61 Times in 58 Posts
default ubuntu didn't come with sshd by default. It doesn't surprise me. I also found it lacking. I use OpenSUSE as my first choice and could not be happier
Sponsored Links
    #6  
Old 07-25-2008
era era is offline Forum Advisor  
Herder of Useless Cats (On Sabbatical)
 
Join Date: Mar 2008
Last Activity: 28 March 2011, 6:41 AM EDT
Location: /there/is/only/bin/sh
Posts: 3,653
Thanks: 0
Thanked 10 Times in 8 Posts
Ubuntu is designed for desktop users (email, word processing, surfing, etc) as its primary use case. The server edition is primarily designed for running an Internet server (Apache, DNS, SQL, etc). In neither case is a C compiler a necessary or particularly useful component to install by default.
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
C Compiler Roam Solaris 25 05-15-2009 11:03 AM
How Can a Machine Reads a Compiler Since A Compiler is Written in Text! Not Binaries? f.ben.isaac Programming 12 11-14-2008 10:25 AM
cc or gcc compiler? zainab UNIX for Dummies Questions & Answers 3 10-03-2008 01:36 PM
gcc compiler munnu Programming 5 12-18-2006 04:47 AM



All times are GMT -4. The time now is 02:16 PM.