Any time I need software that Bluehost doesn't have installed, I ssh to my account and compile it from source. After compilation, I install it to a directory I have set aside inside my home directory.
For most software, this is simply a matter of downloading the tarball (.tar.gz .tgz .tar.bz2 file) which contains the source, extracting it, and then running the configure script followed by make and make install.
This is more or less the process I used to download build, and install ImageMagick:
Code:
$ cd sandbox
$ wget http://image_magick.veidrodis.com/image_magick/ImageMagick-6.3.2-9.tar.bz2
$ tar jxvf ImageMagick-6.3.2-9.tar.bz2
$ cd ImageMagick-6.3.2-9
$ ./configure --prefix=$HOME/local
$ make && make install
The --prefix=$HOME/local tells the configure script to build ImageMagick in a way to be installed in your ~/local folder instead of to the system directory.
I actually ran into two problems while compiling ImageMagick on my account. I got an error about not being able to use the libx11.so provided by the system. Since I'm not going to be using any kind of gui on this server, I changed my configure script to the following:
Code:
./configure --without-x --prefix=$HOME/local
I then ran into a second problem where the PerlMagick component would not compile. If I don't need Perl support it's sometimes easier to simply disable it:
Code:
./configure --without-x --without-perl --prefix=$HOME/local
If make gives you an error, and you need to start over, you don't need to redownload or reuncompress the tarball again. You simply need to run your new configure script and then make && make install again.
Once installed, you'll need to make a change to your .bashrc so that your command line will look towards your own local directory to run commands.
This is what I have at the bottom of my ~/.bashrc file:
Code:
export PATH=$HOME/local/usr/bin:$HOME/local/bin:$PATH
If you need to make libraries or other language bindings available, you'll need to follow instructions for whatever language you are doing it for.
You indicated that you needed ImageMagick 6.2. These instructions are for the latest version of ImageMagick. You should either be just as good with the latest version, or you may follow these same instructions (more or less) with the specific version you need.