Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Python2 and Python3

Both Python2 and Python3 are required for some build tools



Code Block
languagebash
titleInstall Python
sudo apt install python
sudo apt install python3
sudo apt install python-pip python-dev python-setuptools
sudo apt install python3-pip python3-dev python3-setuptools

pip3 install --upgrade pip
pip3 install selenium



Git and git-review

Git and git-review will be used to pull and push code from/to the ONOS repository, so they need to be installed. To streamline the code review process, it is highly recommended that contributors install git-review

...

ONOS is a large project comprising of multiple relatively independent modules that lend themselves to be built in parallel, resulting in much faster. This is why the project chose to build via Bazel. Developers should install Bazel (1.0.27.0 or greater at the time of writing) before they can build the project themselves.

Install Chromium Browser

The Chromium browser is required for running Unit tests of ONOS (in the area of the GUI). This will operate in headless mode and does not require a GUI on the machine.

If the machine already has the Google Chrome browser this will be used instead, and Chromium will not be needed


Code Block
languagebash
titleInstall Chromium Browser
sudo apt install chromium-browser