Login in to the server as root user and run the commands one by one and if you have any problem then let us know..
server@root[~]# cd /usr/local/src
server@root[/usr/local/src]#wget http://pecl.php.net/get/imagick-2.2.0.tgz
server@root[/usr/local/src]#tar -zxvf imagick-2.2.0.tgz
server@root[/usr/local/src]#cd imagick-2.2.0
server@root[/usr/local/src/imagick-2.2.0]#phpize
server@root[/usr/local/src/imagick-2.2.0]#./configure
server@root[/usr/local/src/imagick-2.2.0]#make
server@root[/usr/local/src/imagick-2.2.0]#make install