Results 1 to 5 of 5
i m new to linux . how can I install c++ and run programs in it. I heard eclipse is a good IDE. plz guide me...
- 05-29-2010 #1Just Joined!
- Join Date
- May 2010
- Posts
- 22
running c++ in linux
i m new to linux . how can I install c++ and run programs in it. I heard eclipse is a good IDE. plz guide me
- 05-29-2010 #2
How you install the compilers depends on what distro you are running.
In Ubuntu you can open a terminal and run:
sudo apt-get install build-essential
I can't comment on IDE's thoughIf we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)
My new blog. It's probably not as good as I think it is.
- 05-29-2010 #3Just Joined!
- Join Date
- May 2010
- Posts
- 22
i m using red hat enterprise
- 05-29-2010 #4Just Joined!
- Join Date
- May 2010
- Posts
- 22
i am using red hat enterprise. in order to install c n C++ do I have to download libc6-dev package and then install it through yum?? similarly do I have to install gcc compiler?
- 05-30-2010 #5Just Joined!
- Join Date
- Dec 2009
- Location
- Maryland, USA
- Posts
- 83
I believe that all IDEs require the user to install the desired software development tools, including compilers. So, yes, you need to install a compiler.
There are many excellent IDEs for Linux platforms and many lively discussions about which are best or whether one is needed or should be used at all. I personally use Eclipse, primarily for my self-study of Java, and like it very much. Eclipse is a Java program so also requires Java to be installed and working well. Eclipse has plugins for other programming languages, including C++.
Some prefer a simpler, less resource hungry IDE. Geany is an excellent choice. It's full-featured, easy to learn and use, and supports most languages.
Then there's the crowd that believes that real programmers use text editors and the command line to compile and build their projects. Vi, Vim, and EMACS are highly-customizable editors that have devoted and vocal followers.
I've only scratched the surface. Do some investigating and try a few on for size to decide which is the best approach and tool for your use.
Good luck!


Reply With Quote