Skip to content

Linux Optional Dependencies

David Mansolino edited this page Sep 7, 2020 · 42 revisions

Install Optional Packages

The Webots optional dependencies can be installed with the following script:

sudo scripts/install/linux_optional_compilation_dependencies.sh

Webots web service

This is needed only to run Webots as a web service (simulation_server.py in the cloud).

Install the following for Python 3:

sudo apt install python3-pip
sudo -H pip3 install --upgrade pip
sudo -H pip3 install websocket-client tornado nvidia-ml-py3 psutil requests distro

Install firejail 0.9.56.2.LTS from sources (default APT version 0.9.52 is buggy!):

wget https://github.com/netblue30/firejail/archive/0.9.56.2-LTS.tar.gz
tar xzf 0.9.56.2-LTS.tar.gz
cd firejail-0.9.56.2-LTS/
./configure && make && sudo make install-strip
cd ..
rm -r 0.9.56.2-LTS.tar.gz firejail-0.9.56.2-LTS

Install subversion (used by simulation_server.py to checkout GitHub repositories):

apt-get install subversion

Automobile tools

This is needed only if you want to use the automobile tools (including the OpenStreetMap importer)

Follow the instructions here: https://www.cyberbotics.com/doc/automobile/openstreetmap-importer

Clone this wiki locally