Installing RMagick ruby ​​on an Ubuntu server without installing X

I would like to use RMagick pearl on Ubuntu 10.04 server. This is easy to do throughout the system using the Ubuntu package librmagick-ruby1.8, but I would like to install the gem in a private place using gem install(or the Bundler). Unfortunately, this leads to an error.

Failed to build gem native extension.

if the package is libmagickcore-devnot installed. A Google search or Stackoverflow for "rmagick ubuntu" leads to a large number of people , offering the installation of various packages that lead to the installation of this. The problem with this solution is that installing this package also includes the entire X Windows system as a dependency, which is clearly not desirable on the server.

This should be a common problem. So I'm wondering if anyone has found a solution that does not require X. Thanks for your help!

+5
source share
1 answer

The only solution I have so far is to install Imagemagick from source to /usr/local. After that, the RMagick camcorder is installed correctly. However, this is sad, since Imagemagick is difficult to compile, and then goes beyond the Ubuntu package management system and is difficult to maintain relevance.

+2
source

All Articles