- Ensure apt-get is up to date
sudo apt-get update && sudo apt-get upgrade- Note: Use
sudo apt-get dist-upgrade, instead ofsudo apt-get upgrade, in case you have an older Ubuntu 14.04 version
- Install Python and its development files via apt-get (Python 2 and 3 both work)
sudo apt-get install python python-devorsudo apt-get install python3 python3-dev- Note: The project will only use Python 2 if it can't use Python 3
- Run the top level CMake command with the following additional flag
-DBUILD_PYTHON_BINDINGS:bool=true: