LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   C/C++ compiler for Ubuntu 5.04 (https://www.linuxquestions.org/questions/ubuntu-63/c-c-compiler-for-ubuntu-5-04-a-359708/)

crash_override_me 09-02-2005 11:25 PM

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!!

aysiu 09-02-2005 11:33 PM

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.

PaganHippie 09-03-2005 12:16 AM

As aysiu recommended, use Synaptic. It makes sure that any dependencies are fulfilled.

aysiu 09-03-2005 12:23 AM

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).

PaganHippie 09-03-2005 12:29 AM

Ah. I stand corrected. Forgive me, as I'm about a newb 1.5 in Linux right now. ;-)

aysiu 09-03-2005 12:49 AM

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.

crash_override_me 09-03-2005 03:20 AM

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##

boxerboy 09-03-2005 09:42 PM

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?

__yash__ 11-17-2008 04:35 AM

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 02:07 AM.