Created
July 18, 2018 23:28
-
-
Save paddy74/5013a90ddb41ab2a9a16ff37e975e73c to your computer and use it in GitHub Desktop.
Install POV-ray
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/sh | |
# If boost not found install libboost-all-dev | |
# If unable to find libpng12-dev use sudo apt-add-repository "deb http://us.archive.ubuntu.com/ubuntu/ xenial main universe" && sudo apt update && sudo apt install libpng12-dev | |
sudo apt-get install libboost-dev zlib1g-dev libpng12-dev libjpeg8-dev libtiff5-dev libopenexr-dev autoconf | |
git clone https://github.com/POV-Ray/povray.git | |
cd unix/ | |
source ./prebuild.sh | |
cd ../ | |
read -p "Please enter your name: " name | |
read -p "Please enter your email: " email | |
source ./configure COMPILED_BY="'{$name}' '{$email}'" | |
make | |
sudo make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment