Getting started
Select and install a P4 data-plane target platform architecture
BMv2
ubuntu 18.04
sudo add-apt-repository ppa:frederic-loui/p4lang-3rd-party sudo apt-get update sudo add-apt-repository ppa:frederic-loui/p4lang-master-bionic-nightly sudo apt-get update
ubuntu 20.04
sudo add-apt-repository ppa:frederic-loui/p4lang-3rd-party-focal sudo apt-get update sudo add-apt-repository ppa:frederic-loui/p4lang-master-focal-nightly sudo apt-get update
debian 10
echo 'deb https://download.opensuse.org/repositories/home:/frederic-loui:/p4lang:/p4c/Debian_10/ ./" | sudo tee /etc/apt/source.list.d/p4lang.list sudo apt-get update