Linux C++ compiler

Andras Simon szajmi at gmail.com
Sun Jan 24 18:07:31 UTC 2010


On 1/24/10, Matt Smith <smithm2 at gmail.com> wrote:
> Can anyone recommend a good C++ compiler for Linux, I am very new to Linux
> (very very new).  Does Fedora 12 come with one?  In Windows i used to write
> programs using borlands dos console compiler and Dev-C++.  It would great to
> get a recommendation for a good one in Linux and how to install it.

You need the gcc package:

[root at pici ~]# yum info gcc
Available Packages
Name       : gcc
Arch       : i686
Version    : 4.4.2
Release    : 20.fc12
Size       : 8.1 M
Repo       : updates
Summary    : Various compilers (C, C++, Objective-C, Java, ...)
URL        : http://gcc.gnu.org
License    : GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions
Description: The gcc package contains the GNU Compiler Collection version 4.4.
           : You'll need this package in order to compile C code.


To install it, say
yum install gcc
as root.

Andras


More information about the users mailing list