Difference between revisions of "VPP/Installing VPP binaries from packages"

From fd.io
< VPP
Jump to: navigation, search
(Ubuntu/Debian)
(Ubuntu/Debian)
Line 18: Line 18:
  
 
sudo apt-get install vpp vpp-dpdk-dkms
 
sudo apt-get install vpp vpp-dpdk-dkms
 
 
</code>
 
</code>
  
Line 25: Line 24:
 
<code>
 
<code>
 
echo "deb https://nexus.fd.io/content/repositories/fd.io.master.ubuntu.xenial.main/ ./" | sudo tee -a /etc/apt/sources.list.d/99fd.io.list
 
echo "deb https://nexus.fd.io/content/repositories/fd.io.master.ubuntu.xenial.main/ ./" | sudo tee -a /etc/apt/sources.list.d/99fd.io.list
 +
 
sudo apt update
 
sudo apt update
 +
 
sudo apt install vpp vpp-dpdk-dkms
 
sudo apt install vpp vpp-dpdk-dkms
 
</code>
 
</code>
Line 35: Line 36:
 
<code>
 
<code>
 
echo "deb https://nexus.fd.io/content/repositories/fd.io.stable.1606.ubuntu.trusty.main/ ./" | sudo tee -a /etc/apt/sources.list.d/99fd.io.list
 
echo "deb https://nexus.fd.io/content/repositories/fd.io.stable.1606.ubuntu.trusty.main/ ./" | sudo tee -a /etc/apt/sources.list.d/99fd.io.list
 +
 
sudo apt-get update
 
sudo apt-get update
 +
 
sudo apt-get install vpp vpp-dpdk-dkms
 
sudo apt-get install vpp vpp-dpdk-dkms
 
</code>
 
</code>
Line 43: Line 46:
 
<code>
 
<code>
 
echo "deb https://nexus.fd.io/content/repositories/fd.io.stable.1606.ubuntu.xenial.main/ ./" | sudo tee -a /etc/apt/sources.list.d/99fd.io.list
 
echo "deb https://nexus.fd.io/content/repositories/fd.io.stable.1606.ubuntu.xenial.main/ ./" | sudo tee -a /etc/apt/sources.list.d/99fd.io.list
 +
 
sudo apt update
 
sudo apt update
 +
 
sudo apt install vpp vpp-dpdk-dkms
 
sudo apt install vpp vpp-dpdk-dkms
 
</code>
 
</code>

Revision as of 02:36, 6 June 2016

Intro

If you are simply using vpp, it can be convenient to simply install the packages. The instructions below will pull the latest freshest package build from the master branch (updated on every merge).

Ubuntu/Debian

Add fd.io repo

master branch

Ubuntu 14.04

echo "deb https://nexus.fd.io/content/repositories/fd.io.master.ubuntu.trusty.main/ ./" | sudo tee -a /etc/apt/sources.list.d/99fd.io.list

sudo apt-get update

sudo apt-get install vpp vpp-dpdk-dkms

Ubuntu 16.04

echo "deb https://nexus.fd.io/content/repositories/fd.io.master.ubuntu.xenial.main/ ./" | sudo tee -a /etc/apt/sources.list.d/99fd.io.list

sudo apt update

sudo apt install vpp vpp-dpdk-dkms

stable/1606 branch

Ubuntu 14.04

echo "deb https://nexus.fd.io/content/repositories/fd.io.stable.1606.ubuntu.trusty.main/ ./" | sudo tee -a /etc/apt/sources.list.d/99fd.io.list

sudo apt-get update

sudo apt-get install vpp vpp-dpdk-dkms

Ubuntu 16.04

echo "deb https://nexus.fd.io/content/repositories/fd.io.stable.1606.ubuntu.xenial.main/ ./" | sudo tee -a /etc/apt/sources.list.d/99fd.io.list

sudo apt update

sudo apt install vpp vpp-dpdk-dkms

Centos

Add fd.io repo

master branch

Create a file /etc/yum.repos.d/fdio-master.repo with contents:

[fdio-master]
name=fd.io master branch latest merge
baseurl=https://nexus.fd.io/content/repositories/fd.io.master.centos7/
enabled=1
gpgcheck=0

stable/1606 branch

Create a file /etc/yum.repos.d/fdio-stable-1606.repo with contents:

[fdio-stable-1606]
name=fd.io stable/1606 branch latest merge
baseurl=https://nexus.fd.io/content/repositories/fd.io.stable.1606.centos7/
enabled=1
gpgcheck=0

Install vpp packages

sudo yum install vpp