Jul 17
Installing RMagick on Ubuntu 9.04 (Jaunty)
Posted on Friday, July 17, 2009 in Technology
Installing the RMagick gem can be a huge headache. Reading the HOWTO on the RMagick site is enough to make anyone nervous. Thankfully the process is much easier on ubuntu however; you only need three commands.
DISCLAIMER: I’ve only tested this on Ubuntu 9.04 (Jaunty) server.
$ sudo aptitude install -y imagemagick $ sudo aptitude install -y libmagick9-dev $ sudo gem install rmagick
And you’re done! You can verify the installation using this irb command, taken from the RMagick HOWTO:
$ sudo irb -rubygems -r RMagick irb(main):001:0> puts Magick::Long_version This is RMagick 2.10.0 ($Date: 2009/06/19 22:07:05 $) Copyright (C) 2009 by Timothy P. Hunter Built with ImageMagick 6.4.5 2009-06-04 Q16 OpenMP http://www.imagemagick.org Built for ruby 1.8.7 Web page: http://rmagick.rubyforge.org Email: rmagick@rubyforge.org => nil
Jul 14
Installing git on Ubuntu 9.04 (Jaunty)
Posted on Tuesday, July 14, 2009 in Technology
Last night I was working on a new ubuntu 9.04 server on ec2 (it was ami-0d729464 from http://alestic.com if you’re interested). Installing git via aptitude would have given me an older version so here’s what I did.
$ sudo apt-get build-dep git-core git-doc libssl-dev $ wget http://kernel.org/pub/software/scm/git/git-1.6.3.3.tar.gz $ tar -xzf git-1.6.3.3.tar.gz $ cd git-1.6.3.3/ $ ./configure $ make all doc $ sudo make install install-doc $ git --version git version 1.6.3.3