povray command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
povray: command not found
or when using sudo you get the following error message
sudo: povray: command not found
Solutions to povray: command not found
How To Fix povray: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu povray is provided by povray package.
povray is:
POV-Ray is a full-featured ray tracer. Ray tracers simulate objects and light sources of the real world to calculate photorealistic, computer generated images. Because of the nature of ray tracing, this process is quite CPU-intensive, at the benefit of more realistic images compared to real time rendering techniques. For example, in POV-Ray, you can model a glass prism, and you will see a spectrum in the resulting image.
POV-Ray by itself is a command-line utility that will take scene descriptions, written in a special easy-to-understand language, to produce ray-traced images (or even a sequence of images, for animations). You can either write those scene-descriptions by hand, or use external tools to generate (parts of) the scene.
povray-includes is highly recommended in addition to this package.
To fix this problem, we can install more using the command below.
sudo apt-get -y install povray
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install povray.
sudo apt -y install povray
Or if you have aptitude installed you can use the following command.
sudo aptitude install povray
Summary
In this tutorial we learn how to fix povray command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.