-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Linux Optional Dependencies
Olivier Michel edited this page Aug 21, 2019
·
42 revisions
To build the JAVA API you will need to install either openjdk-8-jdk
or sun-java8-jdk
:
sudo apt install openjdk-8-jdk
NodeJS npm is needed to build webots.min.js
:
sudo apt-get install npm
To install Python 3.6 and 3.7 on Ubuntu 16.04, you will need to add a new PPA:
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt update
sudo apt install python3.6-dev python3.7-dev
This is needed only to run Webots as a web service (simulation_server.py in the cloud).
Install the following modules for Python 2.7:
sudo pip install --upgrade pip
sudo pip install websocket-client tornado nvidia-ml-py psutil requests
sudo apt install firejail
Or 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
sudo apt install firejail
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