Skip to content

Instantly share code, notes, and snippets.

@mike-u
Created January 22, 2018 21:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mike-u/af06174d396f70a20b8c1d0ada80da85 to your computer and use it in GitHub Desktop.
Save mike-u/af06174d396f70a20b8c1d0ada80da85 to your computer and use it in GitHub Desktop.
Installation script for ASU's DaVinci program
#This is a script of everything I had to do to install davinci. ASU's website instructions make a lot of this unclear so I hope that this helps.
cd ~/Downloads
sudo apt-get install libpng3 libpng16-16 libpng16-dev libcurl3 curl readline-common libreadline5 libreadline6 lib64readline6 libreadline-dev libcfitsio-bin libcfitsio-dev libcfitsio2 libcfitsio3-dev gnuplot gnuplot-x11 gnuplot5 gnuplot5-x11 libhdf5-10 libhdf5-dev libc6-i386 #Some of these might not be needed, but these are all the things I had installed when I finally got it working
wget http://mirrors.kernel.org/ubuntu/pool/universe/c/cfitsio3/libcfitsio3_3.340-2ubuntu2_amd64.deb
sudo dpkg -i libcfitsio3_3.340-2ubuntu2_amd64.deb
wget http://software.mars.asu.edu/davinci/davinci-2.10-1.amd64.deb
sudo dpkg -i davinci-2.10-1.amd64.deb
rm libcfitsio3_3.340-2ubuntu2_amd64.deb davinci-2.10-1.amd64.deb
cd /usr/lib/x86_64-linux-gnu
sudo ln -s libhdf5.so libhdf5.so.7 #This part might not be needed in the future.
sudo ldconfig
davinci
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment