Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have just installed Ubuntu 12.10, and I am new using Linux. What software do I need to install to do C-programming?

I am looking for a compiler and libraries. I'm not only new in Linux, but also in C as you can see. I've learned to install compiler using sudo apt-get install g++. And "Hello world" works just fine. :)

I guess it contains all basic libraries, but how do I install additional ones? Especially I need grace.

share|improve this question
4  
What are you looking for exactly? An IDE, a compiler, a linker, standard libraries ...? I mean, programming can be done with pen and paper strictly speaking, so please be more specific in what you need. –  gertvdijk Feb 28 '13 at 15:43
    
Programming IS done with pen+paper @gertvdijk coding on the other hand ;-) And Daniel: you can already start coding with a plain install: gedit is there as an editor (and provides syntax highlighting) –  Rinzwind Feb 28 '13 at 15:53
    
Sorry if I wasn't specific enough, I was looking for compiler and libraries. I'm not only new in Linux, but also in C as you can see. I've learned to install compiler using 'sudo apt-get install g++' command in install. And "Hello world" works just fine. :) I guess it contains all basic libraries, but how do I install aditional ones? –  Daniel Feb 28 '13 at 16:13
    
@Daniel Which libraries do you need ? –  AsheeshR Feb 28 '13 at 16:14
    
I needed 'grace' and Terminal instructed me. Still learning basics so I guess I won't be needing any for certain amount of time. Guys, thank you very much for your readiness to help. :) –  Daniel Feb 28 '13 at 16:19
show 2 more comments

5 Answers 5

If you are running a gnome baesed distro I would also suggest Ajunta for an IDE.

share|improve this answer
add comment

You will need to install build-essential for C programming:

sudo apt-get install build-essential

I usually use Geany, but gedit or any other text-editor will do fine

share|improve this answer
add comment

I use codeblocks. I would recommend you the same. Maybe you need to install build-essentials to compile programs.

sudo apt-get install build-essential
share|improve this answer
add comment

The GNU toolchain (gcc, binutils, make, etc.) and a text editor (gedit, nano, vim, etc.). You most likely already have those.

If you want to use IDEs' then, Geany is one of the simpler ones.

share|improve this answer
    
Done! Thank you. :) –  Daniel Feb 28 '13 at 16:33
add comment

You need a text editor and a compiler

Use gcc as compiler and gedit as the texteditor, If you prefer an Integrated Development Environment try codeblocks or eclipse with cdt

share|improve this answer
    
Yes, I've got those two. Thank you. :) –  Daniel Feb 28 '13 at 16:32
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.