LinuxQuestions.org
Help answer threads with 0 replies.
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 09-03-2005, 12:25 AM   #1
crash_override_me
Member
 
Registered: Aug 2005
Location: India, New Delhi
Distribution: Debian Etch, Ubuntu
Posts: 342

Rep: Reputation: 30
Question C/C++ compiler for Ubuntu 5.04


HI GUYS,

Ubuntu does'nt seem to have the c/c++ complier that is present on most other distros.......

How do install that on my Ubuntu System???

Please Help!!
 
Old 09-03-2005, 12:33 AM   #2
aysiu
Senior Member
 
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,776

Rep: Reputation: 66
You may have to enable extra repositories first, but then you can do this.

Code:
sudo apt-get update
sudo apt-get install gcc
or

Code:
sudo apt-get update
sudo apt-get install g++
I would highly advise, in general, though, for software installation that you use Synaptic Package Manager. It's in System > Administration.

Last edited by aysiu; 09-03-2005 at 12:35 AM.
 
Old 09-03-2005, 01:16 AM   #3
PaganHippie
Member
 
Registered: Aug 2005
Location: Ecotopia
Distribution: Ubuntu 7.04 'Feisty' & 6.06 'Dapper'; Debian 4.0 'Etch'
Posts: 119

Rep: Reputation: 15
As aysiu recommended, use Synaptic. It makes sure that any dependencies are fulfilled.
 
Old 09-03-2005, 01:23 AM   #4
aysiu
Senior Member
 
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,776

Rep: Reputation: 66
Quote:
Originally posted by PaganHippie
As aysiu recommended, use Synaptic. It makes sure that any dependencies are fulfilled.
Actually the reason I recommended Synaptic is that it's easier to browse (you can do it by category or by search). Synaptic, after all, is just the graphical version of apt-get. Installing gcc via Synaptic is the same as installing gcc via sudo apt-get install gcc. Both Synaptic and apt-get will resolve dependencies because they're the same function (with two different faces).
 
Old 09-03-2005, 01:29 AM   #5
PaganHippie
Member
 
Registered: Aug 2005
Location: Ecotopia
Distribution: Ubuntu 7.04 'Feisty' & 6.06 'Dapper'; Debian 4.0 'Etch'
Posts: 119

Rep: Reputation: 15
Ah. I stand corrected. Forgive me, as I'm about a newb 1.5 in Linux right now. ;-)
 
Old 09-03-2005, 01:49 AM   #6
aysiu
Senior Member
 
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,776

Rep: Reputation: 66
Quote:
Originally posted by PaganHippie
Ah. I stand corrected. Forgive me, as I'm about a newb 1.5 in Linux right now. ;-)
We're all newbs here.
 
Old 09-03-2005, 04:20 AM   #7
crash_override_me
Member
 
Registered: Aug 2005
Location: India, New Delhi
Distribution: Debian Etch, Ubuntu
Posts: 342

Original Poster
Rep: Reputation: 30
Thumbs up Ahh Thanx for the help Guys!!

Thanx for all ur help guys!!

I used Synaptic to install all the things necessary for using C/C++ in Ubuntu..
This distro is really cool, like all of u........!!

Thanx again##
 
Old 09-03-2005, 10:42 PM   #8
boxerboy
Member
 
Registered: Jul 2005
Distribution: ubuntu5.04, ubuntu5.10, suse9.3, mandrake10.1, mandriva2006(beta), FC1-4, redhat9.0, debian sarge
Posts: 519

Rep: Reputation: 32
theres one program i love for c/c++ and its kdevelop c/c++ but i cant seem to find it for ubuntu is the kdevelop they have in ubuntu the same cause in FC4 its still kdevelop but theres like 7 of them and only one that i saw for ubuntu is there the same thing for ubuntu?
 
1 members found this post helpful.
Old 11-17-2008, 05:35 AM   #9
__yash__
LQ Newbie
 
Registered: Nov 2008
Posts: 1

Rep: Reputation: 0
Unhappy C++ Compiler for Ubuntu Under Virual VM Box

hi, VM Box is an OS virtualisation software. I have installed it as in office I don't have access to move out of windows.
I have Win XP as the host system and Ubuntu as guest OS.
Although the functionality provided by VM Box is good enough, I'm not able to install the G++ compiler.
I've tried installing from the command line but its of no use

Anyone with prior experience in VM box and programming in Ubuntu G++, please get back to me asap.
 
  


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
Clean install from Ubuntu Warty to Ubuntu Hoary Erik_the_Red Linux - Newbie 2 06-05-2005 08:14 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 07:59 PM.

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