1

Need a good c/c++ compiler for Ubuntu. I like coding or programming.

I used Dev-C++ on Windows. Is there any good compilers like Dev-C++?

I tried code::blocks ide but it seems a little buggy for me.

2
  • 2
    Are you looking for a compiler, or an IDE? Dev-C++ is an IDE that uses the mingw compiler. In either case @Nymeria answer is perfect. If you did mean IDE, though, please edit your question.
    – TheSchwa
    Aug 11, 2014 at 10:39
  • 1
    Geany is a light-weight IDE and gcc & g++ are c & c++ compilers.
    – Sudheer
    Aug 15, 2014 at 1:01

2 Answers 2

2

For C++, you can install g++:

sudo apt-get install g++

For C, you can install gcc:

sudo apt-get install gcc

If you need an IDE you can install NetBeans:

sudo apt-get install netbeans
1
  • You could add info about clang.
    – enedil
    Aug 14, 2014 at 23:35
-1

I like very much "Sublime text"

For SUBLIME text2 :

sudo add-apt-repository ppa:webupd8team/sublime-text-2
sudo apt-get update
sudo apt-get install sublime-text

For SUBLIME text3

 sudo add-apt-repository ppa:webupd8team/sublime-text-3
 apt-get update
 sudo apt-get install sublime-text-installer
2
  • ST is a text editor, not an IDE and certainly not a compiler.
    – Oli
    Dec 18, 2014 at 9:29
  • @oli you start war ? Dec 18, 2014 at 9:31

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