Cara Install C/C++ Di Linux Centos


Untuk install paket C/C++ di linux centos adalah sebagai berikut syntak nya :

yum groupinstall 'Development Tools'

Untuk mengetahu paket C/C++ sudah terinstall atau belom nya di linux centos bisa dengan menjalan kan syntak di bawah ini :

$ whereis gcc
$ which gcc
$ gcc --version

berikut adalah sample output nya :

[root@proxy ctest]# whereis gcc
gcc: /usr/bin/gcc /usr/lib/gcc /usr/libexec/gcc /usr/share/man/man1/gcc.1.gz
[root@proxy ctest]# which gcc
/usr/bin/gcc
[root@proxy ctest]# gcc --version
gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-11)
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[root@proxy ctest]#

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s