Pages

Tuesday, June 30, 2009

How to Install the Image_science gems on hardy

The Gem Image_science is depends on FreeImage and RubyInline.So we have to install these two packages first.



Step : 1

Install FreeImage First from source:

1 sudo apt-get install build-essential
2 cd ~/sources
3 wget http://ftp.cica.es/ubuntu/ubuntu/pool/universe/f/freeimage/freeimage_3.9.3.orig.tar.gz
4 tar -xvf freeimage_3.9.3.orig.tar.gz
5 cd freeimage-3.9.3.repacked/FreeImage
6 make
7 sudo make install


Step : 2
Install RubyInline as Gem

1 sudo gem install RubyInline -v 3.6.3


Step : 3
Install ImageScience as Gem

1 sudo gem install image_science

1 comment:

  1. Best Casino Sites for US Players - CasinoSites.One
    With over yesbet88 a decade of experience in the gambling industry, we can tell 인생도박 you which is 승인전화없는 토토 꽁머니 the best place for US players to play online. With over 700 1 bet games and over max88

    ReplyDelete