Find the answer to your Linux question:
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...
  1. #1
    Just 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

  2. #2
    Trusted Penguin elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    2,298
    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 though
    If 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.

  3. #3
    Just Joined!
    Join Date
    May 2010
    Posts
    22
    i m using red hat enterprise

  4. #4
    Just 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?

  5. #5
    Just 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!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...