Last active
June 22, 2016 13:09
-
-
Save phiros/ddf77e70718f0f25e0f3 to your computer and use it in GitHub Desktop.
install SHOREmap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "installing DISLIN (requires superuser privilege)" | |
read -p "Press [Enter] key to continue or [ctrl] and [c] to abort" | |
DISLIN=/usr/local/dislin | |
rm $HOME/dislin-10.4.linux.i586_64.deb | |
rm $HOME/SHOREmap_v3.0.tar.gz | |
rm -rf $HOME/SHOREmap_v3.0 | |
sudo apt-get update | |
sudo apt-get -y install libmotif4 libxt-dev build-essential | |
wget ftp://ftp.gwdg.de/pub/grafik/dislin/linux/i586_64/dislin-10.4.linux.i586_64.deb -P $HOME | |
sudo dpkg -i $HOME/dislin-10.4.linux.i586_64.deb | |
echo "installing SHOREmap (requires superuser privilege)" | |
read -p "Press [Enter] key to continue or [ctrl] and [c] to abort" | |
wget http://bioinfo.mpipz.mpg.de/shoremap/SHOREmap_v3.0.tar.gz -P $HOME | |
cd $HOME | |
tar -xzvf SHOREmap_v3.0.tar.gz | |
cd $HOME/SHOREmap_v3.0 | |
rm dislin/*dislin_d.* | |
cp $DISLIN/*dislin_d.* dislin | |
sudo bash -c "echo 'export LD_LIBRARY_PATH=$HOME/SHOREmap_v3.0/dislin' >> $HOME/.bashrc" | |
sudo bash -c "echo 'export PATH=$PATH:$HOME/SHOREmap_v3.0' >> $HOME/.bashrc" | |
echo "Installation complete! Please close the terminal program and start it again" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello phiros, I am trying to install SHOREmap, and I did not have success, I use your script and works, but then when I trying to use the script to test SHOREmap:
abraham@viognier:
/SHOREmap_v3.0$ SHOREmap/SHOREmap_v3.0$ shoreSHOREmap: command not found
abraham@viognier:
shore: command not found
Can you help me with the installation
Thanks in advances