Page tree

Have questions? Stuck? Please check our FAQ for some common questions and answers.

Skip to end of metadata
Go to start of metadata

Python2 and Python3

Both Python2 and Python3 are required for some build tools



Install 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

Install git and git-review
sudo apt-get install git
sudo apt-get install git-review


git-review on Mac

For more info about git-review refer to this link

If you're using a Mac, you may need to manually upgrade the git-review package dependency. (git-review bug#1337701)

$ sudo pip install --upgrade setuptools
$ sudo pip install --upgrade git-review

Install Bazel

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.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


Install Chromium Browser
sudo apt install chromium-browser



  • No labels