CentOS Install glib-devel

Posted on in Categories last updated March 14, 2010

How do I install glib-devel under RHEL / Fedora / CentOS Linux?

You can install the following packages

  • glib-devel.i386 : The GIMP ToolKit (GTK+) and GIMP Drawing Kit (GDK) support library (32 bit).
  • glib-devel.x86_64 : The GIMP ToolKit (GTK+) and GIMP Drawing Kit (GDK) support library (64 bit).

Type the following command as root user:
# yum -y install glib-devel
Sample outputs:

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * addons: mirror.usonyx.net
 * base: mirror.usonyx.net
 * extras: mirror.usonyx.net
 * updates: mirror.usonyx.net
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package glib-devel.i386 1:1.2.10-20.el5 set to be updated
--> Processing Dependency: glib = 1:1.2.10 for package: glib-devel
--> Processing Dependency: libgthread-1.2.so.0 for package: glib-devel
--> Processing Dependency: libgmodule-1.2.so.0 for package: glib-devel
--> Processing Dependency: libglib-1.2.so.0 for package: glib-devel
---> Package glib-devel.x86_64 1:1.2.10-20.el5 set to be updated
--> Running transaction check
---> Package glib.i386 1:1.2.10-20.el5 set to be updated
---> Package glib.x86_64 1:1.2.10-20.el5 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

==============================================================================================================================================================
 Package                                Arch                               Version                                     Repository                        Size
==============================================================================================================================================================
Installing:
 glib-devel                             i386                               1:1.2.10-20.el5                             base                              38 k
 glib-devel                             x86_64                             1:1.2.10-20.el5                             base                              38 k
Installing for dependencies:
 glib                                   i386                               1:1.2.10-20.el5                             base                             137 k
 glib                                   x86_64                             1:1.2.10-20.el5                             base                             144 k

Transaction Summary
==============================================================================================================================================================
Install      4 Package(s)         
Update       0 Package(s)         
Remove       0 Package(s)         

Total download size: 358 k
Is this ok [y/N]:  y

Posted by: Vivek Gite

The author is the creator of nixCraft and a seasoned sysadmin and a trainer for the Linux operating system/Unix shell scripting. He has worked with global clients and in various industries, including IT, education, defense and space research, and the nonprofit sector. Follow him on Twitter, Facebook, Google+.

1 comment

  1. Not much use.

    [[email protected]]# yum -y install glib-devel
    Loaded plugins: fastestmirror
    Setting up Install Process
    Loading mirror speeds from cached hostfile
    * base: centos.den.host-engine.com
    * extras: mirror.hmc.edu
    * updates: mirrors.sonic.net
    No package glib-devel available.
    Error: Nothing to do

Leave a Comment