Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

Installation tools

The manual installation process is quite long and cumbersome because of the dependencies that are needed by P4-Utils. For this reason, we provide a Bash script that automatically goes through every step.

Warning!
The script has been tested with Ubuntu 18.04.4 and the compiler GCC 7.5. Errors have been reported with newer versions.

With the following installation methods, you will download and install Mininet and the P4-Tools suite (P4-Utils, P4-Learning and their dependencies) in your user's home directory.

One-Step Automated Install

To get started quickly and conveniently, you may want to install the P4-Tools suite using the following command:

curl -sSL https://raw.githubusercontent.com/nsg-ethz/p4-utils/master/install-tools/install-p4-dev.sh | bash

Alternative Installation Method

The main drawback of piping to bash is that you cannot review the code that is going to run on your system. Therefore, we provide this alternative methods that allows you to inspect the intallation script:

wget -O install-p4-dev.sh https://raw.githubusercontent.com/nsg-ethz/p4-utils/master/install-tools/install-p4-dev.sh
bash install-p4-dev.sh