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

From fd.io
< VPP
Jump to: navigation, search
(Ubuntu/Debian)
(Ubuntu/Debian)
Line 16: Line 16:
  
 
sudo apt-get update
 
sudo apt-get update
 +
 +
sudo apt-get install vpp vpp-dpdk-dkms
  
 
</code>
 
</code>
Line 24: Line 26:
 
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-get update
+
sudo apt update
 +
 
 +
sudo apt install vpp vpp-dpdk-dkms
 +
 
  
 
</code>
 
</code>
Line 36: Line 41:
  
 
sudo apt-get update
 
sudo apt-get update
 +
 +
sudo apt-get install vpp vpp-dpdk-dkms
 +
  
 
</code>
 
</code>
Line 44: Line 52:
 
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-get update
+
sudo apt update
  
</code>
+
sudo apt install vpp vpp-dpdk-dkms
  
=== Install vpp packages ===
 
 
<code>
 
sudo apt-get install vpp vpp-dpdk-dkms
 
 
</code>
 
</code>
  

Revision as of 02:35, 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