0

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.

guntbert
  • 13,475
Daniel
  • 1

7 Answers7

3

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
neo1691
  • 595
2

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.

asheeshr
  • 793
  • 1
  • 8
  • 32
Balgerda
  • 137
2

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

Tachyons
  • 17,455
1

You should use text editor, compiler and a Version control tool.

For Text Editor, sublime-text-3 is best for developers and also you can use many themes and autocomplete plugin on it. It has package manager that will help you to install these plugins.

These are the commands to install the package manager

sudo add-apt-repository -y ppa:webupd8team/sublime-text-3
sudo apt-get update
sudo apt-get install -y sublime-text-installer

For compiler, you can install gcc and g++ for command line.

For version control, use git.

user
  • 125
Sudip Das
  • 300
0

I suggest Visual studio code for an IDE. It has in-built terminal and debugger. You can install it by the mentioned link : https://code.visualstudio.com/download Choose debian package for installation on ubuntu

Ubuntovative is here
  • 1,162
  • 2
  • 15
  • 41
0

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

0

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