The MEGAN package can be downloaded from (http://www-ab.informatik.uni-tuebingen.de/data/software/megan/download/welcome.html)
$ wget http://www-ab.informatik.uni-tuebingen.de/data/software/megan/download/V3_9/MEGAN_unix_3_9.sh
Blogging Work
$ wget http://www-ab.informatik.uni-tuebingen.de/data/software/megan/download/V3_9/MEGAN_unix_3_9.sh
export PATH="/usr/local/mysql/bin/:$PATH"- Now check for MySQL installation.
$ mysql --version
curl -O ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.7-p72.tar.gz
tar xzvf ruby-1.8.7-p72.tar.gz
cd ruby-1.8.7-p72
./configure --enable-shared --enable-pthread CFLAGS=-D_XOPEN_SOURCE=1
make
sudo make install
cd ..
curl -O http://production.cf.rubygems.org/rubygems/rubygems-1.3.7.tgz
tar zxvf rubygems-1.3.7.tgz
cd rubygems-1.3.7
sudo ruby setup.rb