The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Install giflib

Discussion in 'General Discussion' started by GoWilkes, Feb 22, 2011.

  1. GoWilkes

    GoWilkes Well-Known Member

    Joined:
    Sep 26, 2006
    Messages:
    367
    Likes Received:
    1
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    I just discovered that I need to install giflib in order to make the Perl module "Imager" work for my purposes. I can't find a guide, though, on how to install it.

    It's been a LONG time since I had to install anything on my server, so ANY guidance would be appreciated! I'm running Redhat Enterprise 4, and do have root access via SSH.

    TIA,

    Jason
     
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    It appears to be available in yum:

    Code:
    yum install giflib
    I have no idea if giflib-devel is also required or anything else associated with it.
     
  3. GoWilkes

    GoWilkes Well-Known Member

    Joined:
    Sep 26, 2006
    Messages:
    367
    Likes Received:
    1
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Tristan, I tried that, but I got:

    -bash: yum: command not found

    Please forgive my ignorance on this one, but if I've read correctly, yum isn't installed on Redhat Enterprise 4. Can I do the same thing with up2date? If so, is the command just:

    up2date install giflib
     
  4. cPanelJared

    cPanelJared Technical Analyst
    Staff Member

    Joined:
    Feb 25, 2010
    Messages:
    1,842
    Likes Received:
    18
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    The default update manager on RHEL4 is up2date, while on RHEL5 it is yum. up2date syntax is a bit different from yum. You should be able to simply run the following:

    Code:
    # up2date giflib
    The following up2date article and man page should be helpful:

    redhat.com |
    up2date(8) - Linux man page

    If giflib is not available in the update channels to which your server is subscribed, there are resources such as rpmfind.net and rpm.pbone.net that can often help.

    RPM Search
    Rpmfind mirror

    If you locate an RPM package online, use wget to download the file to the server, and then use the rpm command to install it. The general syntax is the following:

    Code:
    # rpm -ivh package_name.rpm
     
Loading...

Share This Page