RMagick, Slicehost, Ubuntu 8.04
- November 1st, 2008
- Posted in Admin . Ruby on Rails
- Write comment
The default Ubuntu install in Slicehost has the minimum number of packages. You have to install most things on your own. The documentation provided by Slicehost is thorough for the most common tasks.  However, I ran into a hiccup that took me a while to figure out.  That hiccup, no surprise, was trying to get the infamous and universally required rmagick gem installed.
My first mistake was probably typing:
$ sudo aptitude install imagemagick
And assuming that it would give me the development headers. It didn’t. Then I tried to find the libmagick10-dev package, which doesn’t exist. Eventually, after much trial, error, and increasing familiarity with aptitude, I found this combination:
$ sudo aptitude install libmagick9-dev $ sudo gem install rmagick
Success.
This is my blog about programming. For random stuff, checkout my
Hi, vi_jedi. I was hoping I found the perfect (short and to the point) blog but I get this error, when I run sudo aptitude install libmagick9-dev (I’m on slicehost using Ubuntu and Rails):
Err http://archive.ubuntu.com dapper-updates/main libmagick9 6:6.2.4.5-0.6ubuntu0.7
404 Not Found [IP: 91.189.88.46 80]
Err http://security.ubuntu.com dapper-security/main libmagick9 6:6.2.4.5-0.6ubuntu0.7
404 Not Found
Err http://security.ubuntu.com dapper-security/main libmagick9-dev 6:6.2.4.5-0.6ubuntu0.7
404 Not Found
E: Unable to correct for unavailable packages
Anil,
Dapper is an older version of Ubuntu and likely has an older version of RMagick as well. You should try:
aptitude search magick
to find the version of libmagick available for that release.
You also might have to install the rmagick 1.x series.
Best *magick install EVER
cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=8.10
DISTRIB_CODENAME=intrepid
DISTRIB_DESCRIPTION=”Ubuntu 8.10″
Worked like a charm, Thanks