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

From fd.io
< VPP
Jump to: navigation, search
(Ubuntu/Debian)
(Add fd.io repo)
Line 26: Line 26:
 
=== Add fd.io repo ===
 
=== Add fd.io repo ===
  
==== Package Description ====
+
<div class="toccolours mw-collapsible mw-collapsed" style="width:800px">
 +
'''Package Descriptions'''
 +
<div class="mw-collapsible-content">
 
* '''vpp''' - Description: Vector Packet Processing--executables. This package provides VPP executables: vpp, vpp_api_test, vpp_json_test
 
* '''vpp''' - Description: Vector Packet Processing--executables. This package provides VPP executables: vpp, vpp_api_test, vpp_json_test
 
** vpp - the vector packet engine
 
** vpp - the vector packet engine
Line 42: Line 44:
 
** vlib-api - binary API library
 
** vlib-api - binary API library
 
** vnet -  network stack library
 
** vnet -  network stack library
 +
</div>
 +
</div>
  
 +
<div class="toccolours mw-collapsible mw-collapsed" style="width:800px">
 
==== Ubuntu 14.04 -- VPP Release Packages ====
 
==== Ubuntu 14.04 -- VPP Release Packages ====
 
+
<div class="mw-collapsible-content">
 
<code>
 
<code>
echo "deb https://nexus.fd.io/content/repositories/fd.io.ubuntu.trusty.main/ ./" | sudo tee -a /etc/apt/sources.list.d/99fd.io.list
 
  
sudo apt-get update
+
  echo "deb https://nexus.fd.io/content/repositories/fd.io.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
  
sudo apt-get install vpp vpp-dpdk-dkms
 
 
</code>
 
</code>
 +
</div>
 +
</div>
  
 +
<div class="toccolours mw-collapsible mw-collapsed" style="width:800px">
 
==== Ubuntu 16.04 -- VPP Release Packages ====
 
==== Ubuntu 16.04 -- VPP Release Packages ====
 
+
<div class="mw-collapsible-content">
 
<code>
 
<code>
echo "deb https://nexus.fd.io/content/repositories/fd.io.ubuntu.xenial.main/ ./" | sudo tee -a /etc/apt/sources.list.d/99fd.io.list
 
  
sudo apt update
+
  echo "deb https://nexus.fd.io/content/repositories/fd.io.ubuntu.xenial.main/ ./" | sudo tee -a /etc/apt/sources.list.d/99fd.io.list
 +
  sudo apt update
 +
  sudo apt install vpp vpp-dpdk-dkms
  
sudo apt install vpp vpp-dpdk-dkms
 
 
</code>
 
</code>
 +
</div>
 +
</div>
  
 +
<div class="toccolours mw-collapsible mw-collapsed" style="width:800px">
 
==== Ubuntu 14.04 -- VPP master branch ====
 
==== Ubuntu 14.04 -- VPP master branch ====
 
+
<div class="mw-collapsible-content">
 
<code>
 
<code>
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
+
  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
  
sudo apt-get install vpp vpp-dpdk-dkms
 
 
</code>
 
</code>
 +
</div>
 +
</div>
  
==== Ubuntu 16.04 -- VPP master branch ====
 
  
 +
<div class="toccolours mw-collapsible mw-collapsed" style="width:800px">
 +
==== Ubuntu 16.04 -- VPP master branch ====
 +
<div class="mw-collapsible-content">
 
<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
 
  
sudo apt update
+
  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
  
sudo apt install vpp vpp-dpdk-dkms
 
 
</code>
 
</code>
  
 +
</div>
 +
</div>
 +
 +
<div class="toccolours mw-collapsible mw-collapsed" style="width:800px">
 
==== Ubuntu 14.04 -- VPP stable/1606 branch ====
 
==== Ubuntu 14.04 -- VPP stable/1606 branch ====
 +
<div class="mw-collapsible-content">
 
<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
 
  
sudo apt-get update
+
  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
  
sudo apt-get install vpp vpp-dpdk-dkms
 
 
</code>
 
</code>
 +
</div>
 +
</div>
  
 +
<div class="toccolours mw-collapsible mw-collapsed" style="width:800px">
 
==== Ubuntu 16.04 -- VPP stable/1606 branch ====
 
==== Ubuntu 16.04 -- VPP stable/1606 branch ====
 
+
<div class="mw-collapsible-content">
 
<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
 
  
sudo apt update
+
  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
  
sudo apt install vpp vpp-dpdk-dkms
 
 
</code>
 
</code>
 +
</div>
 +
</div>
  
 
== Centos ==
 
== Centos ==

Revision as of 00:59, 17 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

Release VPP 16.06 VPP MASTER
Ubuntu14.04 Instructions Instructions
Ubuntu16.04 Instructions Instructions
Ubuntu15.04 Anecdotally! WARNING! Anecdotally! WARNING!

Add fd.io repo

Package Descriptions

  • vpp - Description: Vector Packet Processing--executables. This package provides VPP executables: vpp, vpp_api_test, vpp_json_test
    • vpp - the vector packet engine
    • vpp_api_test - vector packet engine API test tool
    • vpp_json_test - vector packet engine JSON test tool
  • vpp-dbg - Description: Vector Packet Processing--debug symbols
  • vpp-dev - Description: Vector Packet Processing--development support. This package contains development support files for the VPP libraries
  • vpp-dpdk-dev - Description: Vector Packet Processing--development support. This package contains dpdk header files which match the dpdk version compiled into the vpp executable
  • vpp-dpdk-dkms - Description: DPDK 2.1 igb_uio_driver. This package contains Linux kernel modules distributed with DPDK.
  • vpp-lib - Description: Vector Packet Processing--runtime libraries. This package contains the VPP shared libraries, including:
    • vppinfra - foundation library supporting vectors, hashes, bitmaps, pools, and string formatting.
    • dpdk - Intel DPDK library
    • svm - vm library
    • vlib - vector processing library
    • vlib-api - binary API library
    • vnet - network stack library

Ubuntu 14.04 -- VPP Release Packages

 echo "deb https://nexus.fd.io/content/repositories/fd.io.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 -- VPP Release Packages

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

Ubuntu 14.04 -- VPP master branch

 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 -- VPP master branch

 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

Ubuntu 14.04 -- VPP stable/1606 branch

 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 -- VPP stable/1606 branch

 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

VPP Release rpms

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.centos7/
enabled=1
gpgcheck=0

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