Advertisement
fritigern

singu_deps.sh

Jun 10th, 2016
222
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.58 KB | None | 0 0
  1. #!/bin/bash
  2. ######################################################################################
  3. # This script was originally created by Fritigern Gothly in 2013
  4. # It was donated on 12-22-2013 to the Singularity Viewer Project under
  5. # the Stone Soup License. See http://en.wikipedia.org/wiki/Stone_Soup
  6. #
  7. # Fritigern Gothly  06-10-2016  Split off this script from the Build_Singularity.sh
  8. #                               script so as to simplify both scripts.
  9. ######################################################################################
  10. ## DEBIAN AND UBUNTU DEPENDENCIES
  11. ## *** NOTE *** If libleveldb1v5 is not available in your distro or version, you should use libleveldb1
  12. ######################################################################################
  13. ## *** NOTE *** If gcc-4.8 is not installable for you, then do the following (in Ubuntu):
  14. # gksudo add-apt-repository ppa:ubuntu-toolchain-r/test
  15. # gksudo apt-get update && sudo apt-get install gcc-4.8 g++-4.8
  16. ######################################################################################
  17. sudo apt-get install git cmake libc6-dev libstdc++6 libx11-dev libxrender-dev libgl1-mesa-dev libglu1-mesa-dev zlib1g-dev libssl-dev libogg-dev libpng12-dev libdbus-glib-1-dev libgtk2.0-dev libopenal-dev libvorbis-dev libalut-dev libapr1-dev libaprutil1-dev libboost-dev libc-ares-dev libxmlrpc-epi-dev libopenjpeg-dev libjpeg62-dev libgtk2.0-dev libsdl1.2-dev libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev google-mock libidn11-dev libleveldb-dev mercurial python-setuptools python2.7-dev gcc-4.8 g++-4.8
  18.  
  19. # Install these separately, because one of the two WILL report to be unavailable. This is expected, so no worries.
  20. sudo apt-get install libleveldb1v5
  21. sudo apt-get install libleveldb1
  22.  
  23. ## Install latest pip, since pip in most distros is horribly outdated.
  24. sudo apt-get purge python-pip && sudo easy_install -U pip
  25.  
  26. ## Use pip to install autobuild
  27. pip install "hg+https://bitbucket.org/alchemyviewer/autobuild-alchemy"
  28.  
  29. ## Clone the official Singularity repo to your local git repository.
  30. ## Uncomment if you wish to make this part of the installation of the dependencies.
  31. ## Leave commented if you have already cloned the Singu repo or if you with to set it up later.
  32. #
  33. # git clone git://github.com/singularity-viewer/SingularityViewer.git Singularity
  34.  
  35. echo '*** Done! *** You are now ready to compile Singularity on your Linux machine.'
  36. echo 'Make sure you have first downloaded the Build_Singularity script from http://pastebin.com/hKYxB0v3'
  37. echo 'When ready, type in the terminal "./build_singularity.sh Singularity"'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement