Tech Thought

Tech tips, hints, and general musings. PHP, Perl, Mysql, Javascript, AJAX, JSON, Linux, Mac OSX

Entries Tagged ‘yum’

How-To: Update all system packages with yum

This might sound like a really really simple thing to do, but it actually took me a little while to work out how to do this. To list all the available packages available for update, use the command:
yum list available
To update all packages on your system to the latest version, use the command:
yum update
Some [...]

Leave a Comment

How-To: Install GD on CentOS

Installing the GD library is easy on CentOS thanks to yum.  Simply type:

yum install gd gd-devel php-gd

And all your GD fun is installed and ready to go.  I was trying to install the Perl module GD::Graph and it wouldn’t compile, complaining:

GD.xs:7:16: error: gd.h: No such file or directory

After installing the GD-Devel package, everything is fine [...]

Leave a Comment