Povray on Ubuntu 12.04 (precise pangolin)

Povray combines two of my interests quite nicely: programming and art. Unfortunately, it’s been dropped from the standard Ubuntu repositories for licensing reasons. Luckily, it’s pretty easy to compile from source. The following method shows how to do it with X support so the graphical preview window works…

sudo apt-get install build-essential libx11-dev libxt-dev

wget http://www.povray.org/redirect/www.povray.org/ftp/pub/povray/Official/Unix/povray-3.6.tar.gz

tar xf povray-3.6.tar.gz

cd povray-3.6.1

./configure COMPILED_BY="Your Name <yourname@example.com>" --with-x

make

sudo make install

Happy ray tracing!