How to Install GCC on Linux Fedora 16 Server

In this post, i will show quick steps to install gcc on linux Fedora 16 server. The GNU Compiler Collection (GCC) is a compiler system produced by the GNU Project supporting various programming languages. The compiler is designed to support multiple front-ends and multiple back-ends by translating first into Register Transfer Language and from there into assembly code for the target architecture. Assume that you have installed minimal installation type Fedora 16 and has setup your own local yum repository.

To install gcc on Fedora 16, simply run the following command :

[root@fedora16 ~]# yum install gcc -y
Fedora16-Repository                                                                    | 3.7 kB     00:00 ...
Fedora16-Repository/primary_db                                                         | 2.3 MB     00:00 ...
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package gcc.i686 0:4.6.2-1.fc16 will be installed
--> Processing Dependency: cpp = 4.6.2-1.fc16 for package: gcc-4.6.2-1.fc16.i686
--> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.6.2-1.fc16.i686
--> Processing Dependency: binutils >= for package: gcc-4.6.2-1.fc16.i686
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.6.2-1.fc16.i686
--> Processing Dependency: for package: gcc-4.6.2-1.fc16.i686
--> Processing Dependency: for package: gcc-4.6.2-1.fc16.i686
--> Running transaction check
---> Package binutils.i686 0: will be installed
---> Package cloog-ppl.i686 0:0.15.9-3.fc15 will be installed
--> Processing Dependency: for package: cloog-ppl-0.15.9-3.fc15.i686
--> Processing Dependency: for package: cloog-ppl-0.15.9-3.fc15.i686
---> Package cpp.i686 0:4.6.2-1.fc16 will be installed
---> Package glibc-devel.i686 0:2.14.90-14 will be installed
--> Processing Dependency: glibc-headers = 2.14.90-14 for package: glibc-devel-2.14.90-14.i686
--> Processing Dependency: glibc-headers for package: glibc-devel-2.14.90-14.i686
---> Package libmpc.i686 0:0.9-1.fc16 will be installed
---> Package mpfr.i686 0:3.0.0-4.fc15 will be installed
--> Running transaction check
---> Package glibc-headers.i686 0:2.14.90-14 will be installed
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.14.90-14.i686
--> Processing Dependency: kernel-headers for package: glibc-headers-2.14.90-14.i686
---> Package ppl.i686 0:0.11.2-3.fc16 will be installed
--> Processing Dependency: for package: ppl-0.11.2-3.fc16.i686
--> Running transaction check
---> Package kernel-headers.i686 0:3.1.0-7.fc16 will be installed
---> Package ppl-pwl.i686 0:0.11.2-3.fc16 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

 Package                   Arch            Version                       Repository                      Size
 gcc                       i686            4.6.2-1.fc16                  Fedora16-Repository             11 M
Installing for dependencies:
 binutils                  i686              Fedora16-Repository            3.5 M
 cloog-ppl                 i686            0.15.9-3.fc15                 Fedora16-Repository             93 k
 cpp                       i686            4.6.2-1.fc16                  Fedora16-Repository            3.9 M
 glibc-devel               i686            2.14.90-14                    Fedora16-Repository            983 k
 glibc-headers             i686            2.14.90-14                    Fedora16-Repository            612 k
 kernel-headers            i686            3.1.0-7.fc16                  Fedora16-Repository            768 k
 libmpc                    i686            0.9-1.fc16                    Fedora16-Repository             49 k
 mpfr                      i686            3.0.0-4.fc15                  Fedora16-Repository            167 k
 ppl                       i686            0.11.2-3.fc16                 Fedora16-Repository            1.4 M
 ppl-pwl                   i686            0.11.2-3.fc16                 Fedora16-Repository             35 k

Transaction Summary
Install      11 Packages

Total download size: 23 M
Installed size: 61 M
Downloading Packages:
Total                                                                          20 MB/s |  23 MB     00:01
Running Transaction Check
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : kernel-headers-3.1.0-7.fc16.i686                                                          1/11
  Installing : mpfr-3.0.0-4.fc15.i686                                                                    2/11
  Installing : glibc-headers-2.14.90-14.i686                                                             3/11
  Installing : libmpc-0.9-1.fc16.i686                                                                    4/11
  Installing : glibc-devel-2.14.90-14.i686                                                               5/11
  Installing : cpp-4.6.2-1.fc16.i686                                                                     6/11
  Installing : ppl-pwl-0.11.2-3.fc16.i686                                                                7/11
  Installing : ppl-0.11.2-3.fc16.i686                                                                    8/11
  Installing : cloog-ppl-0.15.9-3.fc15.i686                                                              9/11
  Installing : binutils-                                                         10/11
  Installing : gcc-4.6.2-1.fc16.i686                                                                    11/11

  gcc.i686 0:4.6.2-1.fc16

Dependency Installed:
  binutils.i686 0:   cloog-ppl.i686 0:0.15.9-3.fc15    cpp.i686 0:4.6.2-1.fc16
  glibc-devel.i686 0:2.14.90-14        glibc-headers.i686 0:2.14.90-14   kernel-headers.i686 0:3.1.0-7.fc16
  libmpc.i686 0:0.9-1.fc16             mpfr.i686 0:3.0.0-4.fc15          ppl.i686 0:0.11.2-3.fc16
  ppl-pwl.i686 0:0.11.2-3.fc16

Leave a Reply

Your email address will not be published. Required fields are marked *

A world leading hosting company that provides fully-managed innovative and secure solutions, suitable for hosting small to medium-sized websites

Built on the best available technologies combined with Google Cloud for strong redundancy and application availability. Backed by skilled experts to address web security threats, a devops team to create advanced custom security solutions, and 24/7 sysadmins to watch over the platform. This powerful, hands-on approach makes your sites faster, safer, and easier to manage. Starting from only $3.95/mo.


* up to 30 days money back guarantee