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
tar xf povray-3.6.tar.gz
./configure COMPILED_BY="Your Name <email@example.com>" --with-x
sudo make install
Happy ray tracing!