Ubuntu This forum is for the discussion of Ubuntu Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
09-02-2005, 11:25 PM
|
#1
|
Member
Registered: Aug 2005
Location: India, New Delhi
Distribution: Debian Etch, Ubuntu
Posts: 342
Rep:
|
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!!
|
|
|
09-02-2005, 11:33 PM
|
#2
|
Senior Member
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,775
Rep:
|
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-02-2005 at 11:35 PM.
|
|
|
09-03-2005, 12:16 AM
|
#3
|
Member
Registered: Aug 2005
Location: Ecotopia
Distribution: Ubuntu 7.04 'Feisty' & 6.06 'Dapper'; Debian 4.0 'Etch'
Posts: 119
Rep:
|
As aysiu recommended, use Synaptic. It makes sure that any dependencies are fulfilled.
|
|
|
09-03-2005, 12:23 AM
|
#4
|
Senior Member
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,775
Rep:
|
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).
|
|
|
09-03-2005, 12:29 AM
|
#5
|
Member
Registered: Aug 2005
Location: Ecotopia
Distribution: Ubuntu 7.04 'Feisty' & 6.06 'Dapper'; Debian 4.0 'Etch'
Posts: 119
Rep:
|
Ah. I stand corrected. Forgive me, as I'm about a newb 1.5 in Linux right now. ;-)
|
|
|
09-03-2005, 12:49 AM
|
#6
|
Senior Member
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,775
Rep:
|
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.
|
|
|
09-03-2005, 03:20 AM
|
#7
|
Member
Registered: Aug 2005
Location: India, New Delhi
Distribution: Debian Etch, Ubuntu
Posts: 342
Original Poster
Rep:
|
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##
|
|
|
09-03-2005, 09:42 PM
|
#8
|
Member
Registered: Jul 2005
Distribution: ubuntu5.04, ubuntu5.10, suse9.3, mandrake10.1, mandriva2006(beta), FC1-4, redhat9.0, debian sarge
Posts: 519
Rep:
|
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.
|
11-17-2008, 04:35 AM
|
#9
|
LQ Newbie
Registered: Nov 2008
Posts: 1
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 03:24 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|