Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- ######################################################################################
- # This script was originally created by Fritigern Gothly in 2013
- # It was donated on 12-22-2013 to the Singularity Viewer Project under
- # the Stone Soup License. See http://en.wikipedia.org/wiki/Stone_Soup
- #
- # Fritigern Gothly 06-10-2016 Split off this script from the Build_Singularity.sh
- # script so as to simplify both scripts.
- ######################################################################################
- ## DEBIAN AND UBUNTU DEPENDENCIES
- ## *** NOTE *** If libleveldb1v5 is not available in your distro or version, you should use libleveldb1
- ######################################################################################
- ## *** NOTE *** If gcc-4.8 is not installable for you, then do the following (in Ubuntu):
- # gksudo add-apt-repository ppa:ubuntu-toolchain-r/test
- # gksudo apt-get update && sudo apt-get install gcc-4.8 g++-4.8
- ######################################################################################
- 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
- # Install these separately, because one of the two WILL report to be unavailable. This is expected, so no worries.
- sudo apt-get install libleveldb1v5
- sudo apt-get install libleveldb1
- ## Install latest pip, since pip in most distros is horribly outdated.
- sudo apt-get purge python-pip && sudo easy_install -U pip
- ## Use pip to install autobuild
- pip install "hg+https://bitbucket.org/alchemyviewer/autobuild-alchemy"
- ## Clone the official Singularity repo to your local git repository.
- ## Uncomment if you wish to make this part of the installation of the dependencies.
- ## Leave commented if you have already cloned the Singu repo or if you with to set it up later.
- #
- # git clone git://github.com/singularity-viewer/SingularityViewer.git Singularity
- echo '*** Done! *** You are now ready to compile Singularity on your Linux machine.'
- echo 'Make sure you have first downloaded the Build_Singularity script from http://pastebin.com/hKYxB0v3'
- echo 'When ready, type in the terminal "./build_singularity.sh Singularity"'
Advertisement
Add Comment
Please, Sign In to add comment