Posts Tagged ‘installation’

Install ImageMagick on Mac OS X using MacPorts

Logo for ImageMagick
Image via Wikipedia

The easiest way to install ImageMagick on a Mac system (Snow Leopard) is to download and install MacPorts:

http://www.macports.org/install.php

After installing MacPorts via the package installer just enter

sudo port install ImageMagick

and that’s it.

Install sun-java6-jdk on Ubuntu 10.04 (Lucid)

Sometimes installing Java can be as if someone stabs you hundreds of pencils in the ass. I  had trouble to install the Sun Java6 JDK after updating to Ubuntu 10.04.

(more…)

Python.h: No such file or directory

I just tried to install some Python package with easy_install and got the following error:

Python.h: No such file or directory

Installing of the Python development headers solved the problem. I just executed:

sudo apt-get install python2.6-dev

To get the best version of the apt-package search for it using e.g.

sudo apt-cache search python

cannot open shared object file: No such file or directory

I’ve gotten this error after i’ve installed ImageMagick (from source) and RMagick (using gem) on my Debian system

libMagickCore.so.2: cannot open shared object file: No such file or directory – /usr/lib/ruby/gems/1.8/gems/rmagick-2.8.0/lib/RMagick2.so

To get rid of this error i executed

ldconfig /usr/local/lib

manual of the day… change hostname on Debian

Change hostname on Debian

I wanted to change the hostname on my Debian Etch installation. The following worked:

sudo vi /etc/hostname

Change the hostname and save file and then

sudo /etc/init.d/hostname.sh start

manual of the day… install Erlang and Mochiweb under Ubuntu

install Erlang and Mochiweb under Ubuntu

First of all we install necessary components and start with the Erlang installation:

sudo apt-get build-dep erlang
sudo apt-get install java-gcj-compat java-gcj-compat-dev

Then we download the source of Erlang (newest versions are available here: http://erlang.org/download.html). I took the R12B-5 release.

wget http://erlang.org/download/otp_src_R12B-5.tar.gz

Extract

tar xfvz otp_src_R12B-5.tar.gz

Configure (choose your favorite directory for the Erlang installation, here: /usr/local/erlang), build and install it:

cd otp_src_R12B-5
./configure --prefix=/usr/local/erlang
sudo make
sudo make install

Now the Mochiweb part

We checkout the newest Mochiweb source using subversion (if not installed yet. Install subversion using sudo apt-get install subversion).

svn checkout http://mochiweb.googlecode.com/svn/trunk/ mochiweb
cd mochiweb
sudo make

manual of the day… Install JBoss under Debian

apt-get install sun-java5-jdk