The latest available Ruby version in the default CentOS repositories is currently Ruby version 1.8.5. Many packages in the default CentOS repos are notorious for lagging way behind what versions of the packages are currently available. Even though Ruby 1.8.7 and Ruby 1.9.X are available I simply needed to get Ruby 1.8.6 installed for a project I was working on so I used the information below to install Ruby 1.8.6 on CentOS Linux using the Yum Package Manager.1.8.5, 1.8.6, 1.9.X, CentOS, ImageMagick, Linux, nginx, package manager, repo, repository, Ruby, ruby.repo, yum
Posts Tagged “ImageMagick”
Sep 07 2010
May 18 2010
While prepping a development server earlier this afternoon I ran into an issue installing the rmagick gem. This was one of a list of 30 or so gems required by a Ruby project that was being installed onto the development server. I thought initially something else was wrong because I had run into this issue before but I thought I had installed ImageMagick via the yum package manager to resolve the problem. Anyhow after verifying ImageMagick was installed I still had the same issue on the development CentOS Linux server. Below I describe the error in detail along with what was done to resolve the issue.CentOS, error, gem, ImageMagick, imagemagick-devel, install, Linux, magick-config, mkmf.log, package manager, Rmagick, Ruby, rubygems, yum
Oct 05 2008
ImageMagick is a really cool product. Not only is it open source but its very powerful tool. My goal was to figure out how to batch resize images while keeping one side 640 pixels wide. I ended up using ImageMagick’s mogrify by issuing the command below at my CentOS shell prompt.
mogrify -resize x640 *.jpg
mogrify -resize 640 *.jpg
Depending on which side you want to be 640 pixels. If you would like for image magic to make the largest side 640 and constrain the proportions use the following command.batch, blur, bmp, CentOS, crop, fax, gif, ImageMagick, jpg, Linux, mogrify, pdf, pixels, PNG, resize, shell, tiff
This is what I had to do to get it to work on CentOS 5. For some reason, FreeType would not work with yum so I built it from scratch. I’m not sure if the all the “yum install”s were needed, but I did it anyway.
#yum install freetype — did not work
tar xvzf freetype-2.3.5.tar.gz
CentOS, FreeType, ghostscript, glib, ImageMagick, irb, LD_LIBRARY, libjpeg, libpng, Linux, make, make install, Rmagick, wget, yum