Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Install giflib

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

  1. GoWilkes

    GoWilkes Well-Known Member

    Joined:
    Sep 26, 2006
    Messages:
    400
    Likes Received:
    5
    Trophy Points:
    168
    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,608
    Likes Received:
    32
    Trophy Points:
    238
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. GoWilkes

    GoWilkes Well-Known Member

    Joined:
    Sep 26, 2006
    Messages:
    400
    Likes Received:
    5
    Trophy Points:
    168
    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

    Joined:
    Feb 25, 2010
    Messages:
    1,835
    Likes Received:
    20
    Trophy Points:
    143
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice