Register now and start sharing your code snippets.
-->

Installing ImageMagick from sources and using xstow to handle the installation.

Shell Script (Bash) posted 3 months ago by marko

I really hate installing software outside of the package manager, because that is not the way of a stable system. Xstow helps the agony those times that sourceball installations are necessary (e.g for new features). Here’s how to install imagemagick with xstow. If you haven’t installed xstow yet, then follow the relevant instructions in this snippet

   1  sudo apt-get install libmagick9-dev # needed for sane image support
   2  cd /tmp
   3  wget ftp://ftp.sunet.se/pub/multimedia/graphics/ImageMagick/ImageMagick-6.4.2-7.tar.bz2
   4  tar xjvf ImageMagick-6.4.2-7.tar.bz2
   5  sudo mv ImageMagick-6.4.2 /usr/src
   6  cd /usr/src
   7  sudo ln -s ImageMagick-6.4.2 imagemagick
   8  cd imagemagick
   9  ./configure --prefix=/usr/local/stow/imagemagick
  10  make
  11  sudo make install
  12  cd /usr/local/stow
  13  sudo xstow imagemagick

Tagged xstow, imagemagick