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 >= 2.20.51.0.2-12 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: libmpfr.so.4 for package: gcc-4.6.2-1.fc16.i686
--> Processing Dependency: libmpc.so.2 for package: gcc-4.6.2-1.fc16.i686
--> Running transaction check
---> Package binutils.i686 0:2.21.53.0.1-2.fc16 will be installed
---> Package cloog-ppl.i686 0:0.15.9-3.fc15 will be installed
--> Processing Dependency: libppl.so.9 for package: cloog-ppl-0.15.9-3.fc15.i686
--> Processing Dependency: libppl_c.so.4 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: libpwl.so.5 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
==============================================================================================================
Installing:
 gcc                       i686            4.6.2-1.fc16                  Fedora16-Repository             11 M
Installing for dependencies:
 binutils                  i686            2.21.53.0.1-2.fc16            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-2.21.53.0.1-2.fc16.i686                                                         10/11
  Installing : gcc-4.6.2-1.fc16.i686                                                                    11/11

Installed:
  gcc.i686 0:4.6.2-1.fc16

Dependency Installed:
  binutils.i686 0:2.21.53.0.1-2.fc16   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

Complete!

How to Reset the Directory Manager Password on RHEL 7 / CentOS 7
How to Reset the Directory Manager Password on RHEL 7 / CentOS 7

It is best practice to remember passwords, but because too many passwords, sometimes we forget. We are not encouraged to write the password on any paper or share the password...

How to Find Big Files Size on Linux RHEL/CentOS
How to Find Big Files Size on Linux RHEL/CentOS

As the linux administrator, sometimes we have to identify which files are most take much space in the linux server resulting in low free space. Low disk space can also...

Why Linux users should worry about malware and what they can do about it
Why Linux users should worry about malware and what they can do about it

Don’t drop your guard just because you’re running Linux. Preventing the spread of malware and/or dealing with the consequences of infection are a fact of life when using computers. If...

How to Reset Forgotten Root Password on Linux RHEL 7 / CentOS 7
How to Reset Forgotten Root Password on Linux RHEL 7 / CentOS 7

This short howto will explain the steps to reset a lost root password or to reset a forgotten root password on Linux RHEL 7 or CentOS 7. Basically, we will...

How to Update CentOS or Upgrade CentOS to the Latest Version
How to Update CentOS or Upgrade CentOS to the Latest Version

Recently, the latest version of CentOS 7.3 was released. All users of CentOS 7.0, 7.1 and 7.2 can upgrade their system to the most recent. This quick guide will explain...

How to Change your WordPress Username, Nickname and Display Name in MySQL
How to Change your WordPress Username, Nickname and Display Name in MySQL

After you create an account log in WordPress, you may want to change your WordPress username, as appropriate or due to security reason. However, you can not do this from...

How to Enable SSH Root Login on Ubuntu 16.04
How to Enable SSH Root Login on Ubuntu 16.04

As what we wrote in the previous article on how to allow SSH root on Ubuntu 14.04, after installing a fresh new copy of Ubuntu 16.04 LTS, we find that...

How to Change UUID of Linux Partition on CentOS 7
How to Change UUID of Linux Partition on CentOS 7

UUID (Universally Unique IDentifier) should be unique and it is used to identify storage devices on a linux system. If you cloned a virtual machine from vCenter, the metadata containing...

1 Comment

Leave a Reply

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