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

From fd.io
< VPP
Jump to: navigation, search
(Ubuntu/Debian)
Line 13: Line 13:
  
 
<code>
 
<code>
echo "deb https://nexus.fd.io/content/repositories/fd.io.master.ubuntu.trusty.main/ ./" > /etc/apt/sources.list.d/99fd.io.list
+
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 update
Line 22: Line 22:
  
 
<code>
 
<code>
echo "deb https://nexus.fd.io/content/repositories/fd.io.master.ubuntu.xenial.main/ ./" > /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-get update
Line 33: Line 33:
  
 
<code>
 
<code>
echo "deb https://nexus.fd.io/content/repositories/fd.io.stable.1606.ubuntu.trusty.main/ ./" > /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
Line 42: Line 42:
  
 
<code>
 
<code>
echo "deb https://nexus.fd.io/content/repositories/fd.io.stable.1606.ubuntu.xenial.main/ ./" > /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-get update

Revision as of 01:22, 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

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-get update

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

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-get update

Install vpp packages

sudo apt-get 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