Install gcc on Fedora 10



Computer Configuration GNU Linux Fedora using Linux Command

 

   Below is an example of yum command to install gcc on Fedora 10.  To execute yum command and install gcc on Fedora 10 you may need to log in as root user or use the su command and then execute command as show on example below to start the gcc installation process.

 

Install gcc on Fedora 10

[root@fedora10 frox-0.7.18]# yum -y install gcc*

Loaded plugins: presto, refresh-packagekit

Setting up and reading Presto delta metadata

fedora                                                                                           | 2.8 kB     00:00

No Presto metadata available for fedora

updates                                                                                          | 3.4 kB     00:00

No Presto metadata available for updates

Setting up Install Process

Resolving Dependencies

--> Running transaction check

---> Package gcc.i386 0:4.3.2-7 set to be updated

--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.3.2-7.i386

---> Package gcc-c++.i386 0:4.3.2-7 set to be updated

--> Processing Dependency: libstdc++-devel = 4.3.2-7 for package: gcc-c++-4.3.2-7.i386

---> Package gcc-gfortran.i386 0:4.3.2-7 set to be updated

--> Processing Dependency: libgfortran = 4.3.2-7 for package: gcc-gfortran-4.3.2-7.i386

--> Processing Dependency: libgfortran.so.3 for package: gcc-gfortran-4.3.2-7.i386

---> Package gcc-gnat.i386 0:4.3.2-7 set to be updated

--> Processing Dependency: libgnat = 4.3.2-7 for package: gcc-gnat-4.3.2-7.i386

--> Processing Dependency: libgnarl-4.3.so for package: gcc-gnat-4.3.2-7.i386

--> Processing Dependency: libgnat-4.3.so for package: gcc-gnat-4.3.2-7.i386

---> Package gcc-java.i386 0:4.3.2-7 set to be updated

updates/filelists_db                                                                             | 8.2 MB     08:04

--> Processing Dependency: libgcj-devel = 4.3.2-7 for package: gcc-java-4.3.2-7.i386

--> Processing Dependency: /usr/share/java/eclipse-ecj.jar for package: gcc-java-4.3.2-7.i386

---> Package gcc-objc.i386 0:4.3.2-7 set to be updated

--> Processing Dependency: libobjc = 4.3.2-7 for package: gcc-objc-4.3.2-7.i386

--> Processing Dependency: libobjc.so.2 for package: gcc-objc-4.3.2-7.i386

---> Package gcc-objc++.i386 0:4.3.2-7 set to be updated

--> Running transaction check

---> Package eclipse-ecj.i386 1:3.4.1-5.fc10 set to be updated

---> Package glibc-devel.i386 0:2.9-3 set to be updated

--> Processing Dependency: glibc-headers = 2.9-3 for package: glibc-devel-2.9-3.i386

---> Package libgcj-devel.i386 0:4.3.2-7 set to be updated

---> Package libgfortran.i386 0:4.3.2-7 set to be updated

---> Package libgnat.i386 0:4.3.2-7 set to be updated

---> Package libobjc.i386 0:4.3.2-7 set to be updated

---> Package libstdc++-devel.i386 0:4.3.2-7 set to be updated

--> Running transaction check

---> Package glibc-headers.i386 0:2.9-3 set to be updated

--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.9-3.i386

--> Processing Dependency: kernel-headers for package: glibc-headers-2.9-3.i386

--> Running transaction check

---> Package kernel-headers.i386 0:2.6.27.37-170.2.104.fc10 set to be updated

--> Finished Dependency Resolution

 

Dependencies Resolved

 

========================================================================================================================

 Package                       Arch               Version                                   Repository             Size

========================================================================================================================

Installing:

 gcc                           i386               4.3.2-7                                   fedora                8.2 M

 gcc-c++                       i386               4.3.2-7                                   fedora                3.9 M

 gcc-gfortran                  i386               4.3.2-7                                   fedora                3.7 M

 gcc-gnat                      i386               4.3.2-7                                   fedora                 12 M

 gcc-java                      i386               4.3.2-7                                   fedora                3.1 M

 gcc-objc                      i386               4.3.2-7                                   fedora                3.0 M

 gcc-objc++                    i386               4.3.2-7                                   fedora                3.2 M

Installing for dependencies:

 eclipse-ecj                   i386               1:3.4.1-5.fc10                            fedora                4.2 M

 glibc-devel                   i386               2.9-3                                     updates               2.1 M

 glibc-headers                 i386               2.9-3                                     updates               616 k

 kernel-headers                i386               2.6.27.37-170.2.104.fc10                  updates               772 k

 libgcj-devel                  i386               4.3.2-7                                   fedora                1.4 M

 libgfortran                   i386               4.3.2-7                                   fedora                248 k

 libgnat                       i386               4.3.2-7                                   fedora                1.0 M

 libobjc                       i386               4.3.2-7                                   fedora                 57 k

 libstdc++-devel               i386               4.3.2-7                                   fedora                3.8 M

 

Transaction Summary

========================================================================================================================

Install     16 Package(s)

Update       0 Package(s)

Remove       0 Package(s)

 

Total download size: 51 M

Downloading Packages:

Downloading DeltaRPMs:

Rebuilding rpms from deltarpms

(1/16): eclipse-ecj-3.4.1-5.fc10.i386.rpm                                                        | 4.2 MB     02:32

(2/16): gcc-4.3.2-7.i386.rpm                                                                     | 8.2 MB     04:31

(3/16): gcc-c++-4.3.2-7.i386.rpm                                                                 | 3.9 MB     02:16

(4/16): gcc-gfortran-4.3.2-7.i386.rpm                                                            | 3.7 MB     02:02

(5/16): gcc-gnat-4.3.2-7.i386.rpm                                                                |  12 MB     06:03

(6/16): gcc-java-4.3.2-7.i386.rpm                                                                | 3.1 MB     01:18

(7/16): gcc-objc-4.3.2-7.i386.rpm                                                                | 3.0 MB     01:14

(8/16): gcc-objc++-4.3.2-7.i386.rpm                                                              | 3.2 MB     01:29

(9/16): glibc-devel-2.9-3.i386.rpm                                                               | 2.1 MB     01:47

(10/16): glibc-headers-2.9-3.i386.rpm                                                            | 616 kB     00:26

(11/16): kernel-headers-2.6.27.37-170.2.104.fc10.i386.rpm                                        | 772 kB     00:35

(12/16): libgcj-devel-4.3.2-7.i386.rpm                                                           | 1.4 MB     00:36

(13/16): libgfortran-4.3.2-7.i386.rpm                                                            | 248 kB     00:06

(14/16): libgnat-4.3.2-7.i386.rpm                                                                | 1.0 MB     00:26

(15/16): libobjc-4.3.2-7.i386.rpm

(16/16): libstdc++-devel-4.3.2-7.i386.rpm

-----------------------------------------------------------------

Total

Running rpm_check_debug

Running Transaction Test

Finished Transaction Test

Transaction Test Succeeded

Running Transaction

  Installing     : libobjc-4.3.2-7.i386

  Installing     : libgfortran-4.3.2-7.i386

  Installing     : libgnat-4.3.2-7.i386

  Installing     : kernel-headers-2.6.27.37-170.2.104.fc10.i386

  Installing     : glibc-headers-2.9-3.i386

  Installing     : glibc-devel-2.9-3.i386

  Installing     : 1:eclipse-ecj-3.4.1-5.fc10.i386

  Installing     : libstdc++-devel-4.3.2-7.i386

  Installing     : libgcj-devel-4.3.2-7.i386

  Installing     : gcc-4.3.2-7.i386

  Installing     : gcc-objc-4.3.2-7.i386

  Installing     : gcc-c++-4.3.2-7.i386

  Installing     : gcc-gfortran-4.3.2-7.i386

  Installing     : gcc-java-4.3.2-7.i386

  Installing     : gcc-objc++-4.3.2-7.i386

  Installing     : gcc-gnat-4.3.2-7.i386

 

Installed:

  gcc.i386 0:4.3.2-7          gcc-c++.i386 0:4.3.2-7      gcc-gfo

  gcc-java.i386 0:4.3.2-7     gcc-objc.i386 0:4.3.2-7     gcc-obj

 

Dependency Installed:

  eclipse-ecj.i386 1:3.4.1-5.fc10                    glibc-devel.

  kernel-headers.i386 0:2.6.27.37-170.2.104.fc10     libgcj-devel

  libgnat.i386 0:4.3.2-7                             libobjc.i386

 

Complete!

[root@fedora10 frox-0.7.18]#

 




3 comments:

John Alert said...

I have read your blog its very attractive and impressive. I like it your blog.

Java Training in Chennai Core Java Training in Chennai Core Java Training in Chennai

Java Online Training Java Online Training Core Java 8 Training in Chennai Java 8 Training in Chennai JavaEE Training in Chennai Java EE Training in Chennai

sivanesan said...

Excellent post. I have read your blog it's very interesting and informative. Keep sharing.
erp in chennai

for IT the said...

Java Online Training Java Online Training Java Online Training Java Online Training Java Online Training Java Online Training

Hibernate Online Training Hibernate Online Training Spring Online Training Spring Online Training Spring Batch Training Online Spring Batch Training Online