compiler availability and desk top interface

Asked by David Thewlis

I want to do some fun mathematics so need a C++ compiler with an easy to use interface with a desk top, both with C++ and the programs I write. Does Ubuntu provide this or where is the best place to go to get it?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
danielgd (danielgd) said :
#1

I haven't used it (I code in Java), but you may use Anjuta as an interface.

To install a C/C++ compiler, install package "build-essentials".

To install Anjuta, I've found this instuctions on the web:
   1. Add deb http://anjuta.org/apt ./ in your /etc/apt/sources.list
   2. Create a file called /etc/apt/preferences and enter the following: Package: anjuta
      Pin: version 2.*
      Pin-Priority: 990

      Package: anjuta-common
      Pin: version 2.*
      Pin-Priority: 990

      Package: anjuta-dev
      Pin: version 2.*
      Pin-Priority: 990
   3. sudo apt-get update
   4. sudo apt-get install anjuta
      (anjuta-dev, if you want to write anjuta plugins)

Revision history for this message
Wrwrwr (wrwrwr) said :
#2

Compiler just translates code into machine readable format, g++ is a good choice here.
For development environment i would suggest Eclipse or KDevelop (both are in the universe repository, same as anjuta).

Can you help with this problem?

Provide an answer of your own, or ask David Thewlis for more information if necessary.

To post a message you must log in.