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

From fd.io
< VPP
Jump to: navigation, search
(Getting jvpp jar)
(Remove obsolete instructions)
 
(10 intermediate revisions by one other user not shown)
Line 16: Line 16:
 
** vlib-api - binary API library
 
** vlib-api - binary API library
 
** vnet -  network stack library
 
** vnet -  network stack library
* '''vpp-plugins''' - Description: Vector Packet Processing--plugin modules
+
* '''vpp-plugin-core & vpp-plugin-dpdk''' - Description: Vector Packet Processing--plugin modules
 
  $ sudo vppctl show plugins         
 
  $ sudo vppctl show plugins         
 
  Plugin path is: /usr/lib/x86_64-linux-gnu/vpp_plugins:/usr/lib/vpp_plugins
 
  Plugin path is: /usr/lib/x86_64-linux-gnu/vpp_plugins:/usr/lib/vpp_plugins
 
   
 
   
 
     Plugin                                  Version                          Description
 
     Plugin                                  Version                          Description
   1. ioam_plugin.so                          19.04-rc2~14-gc0e614c~b34        Inbound OAM
+
   1. ioam_plugin.so                          19.08-rc0~170-g3e9b7a219        Inbound Operations, Administration, and Maintenance (OAM)
   2. memif_plugin.so                          19.04-rc2~14-gc0e614c~b34        Packet Memory Interface (experimental)
+
   2. memif_plugin.so                          19.08-rc0~170-g3e9b7a219        Packet Memory Interface (memif) -- Experimental
   3. perfmon_plugin.so                        19.04-rc2~14-gc0e614c~b34        Performance monitor plugin
+
   3. perfmon_plugin.so                        19.08-rc0~170-g3e9b7a219        Performance Monitor
   4. crypto_ipsecmb_plugin.so                19.04-rc2~14-gc0e614c~b34        Intel IPSEC multi-buffer
+
   4. crypto_ipsecmb_plugin.so                19.08-rc0~170-g3e9b7a219        Intel IPSEC Multi-buffer Crypto Engine
   5. nsh_plugin.so                            19.04-rc2~14-gc0e614c~b34        Network Service Header
+
   5. nsh_plugin.so                            19.08-rc0~170-g3e9b7a219        Network Service Header (NSH)
   6. avf_plugin.so                            19.04-rc2~14-gc0e614c~b34        Intel Adaptive Virtual Function (AVF) Device Plugin
+
   6. avf_plugin.so                            19.08-rc0~170-g3e9b7a219        Intel Adaptive Virtual Function (AVF) Device Driver
   7. pppoe_plugin.so                          19.04-rc2~14-gc0e614c~b34        PPP over Ethernet
+
   7. pppoe_plugin.so                          19.08-rc0~170-g3e9b7a219        PPP over Ethernet (PPPoE)
   8. abf_plugin.so                            19.04-rc2~14-gc0e614c~b34        ACL based Forwarding
+
   8. abf_plugin.so                            19.08-rc0~170-g3e9b7a219        Access Control List (ACL) Based Forwarding
   9. srv6am_plugin.so                        19.04-rc2~14-gc0e614c~b34        Masquerading SRv6 proxy
+
   9. srv6am_plugin.so                        19.08-rc0~170-g3e9b7a219        Masquerading Segment Routing for IPv6 (SRv6) Proxy
  10. ila_plugin.so                            19.04-rc2~14-gc0e614c~b34        Identifier-locator addressing for IPv6
+
  10. ila_plugin.so                            19.08-rc0~170-g3e9b7a219        Identifier Locator Addressing (ILA) for IPv6
  11. l2e_plugin.so                            19.04-rc2~14-gc0e614c~b34        L2 Emulation
+
  11. l2e_plugin.so                            19.08-rc0~170-g3e9b7a219        Layer 2 (L2) Emulation
  12. tlsopenssl_plugin.so                    19.04-rc2~14-gc0e614c~b34        openssl based TLS Engine
+
  12. tlsopenssl_plugin.so                    19.08-rc0~170-g3e9b7a219        Transport Layer Security (TLS) Engine, OpenSSL Based
  13. gtpu_plugin.so                          19.04-rc2~14-gc0e614c~b34        GTPv1-U
+
  13. gtpu_plugin.so                          19.08-rc0~170-g3e9b7a219        GPRS Tunnelling Protocol, User Data (GTPv1-U)
  14. map_plugin.so                            19.04-rc2~14-gc0e614c~b34        Mapping of address and port (MAP)
+
  14. map_plugin.so                            19.08-rc0~170-g3e9b7a219        Mapping of Address and Port (MAP)
  15. dpdk_plugin.so                          19.04-rc2~14-gc0e614c~b34        Data Plane Development Kit (DPDK)
+
  15. dpdk_plugin.so                          19.08-rc0~170-g3e9b7a219        Data Plane Development Kit (DPDK)
  16. stn_plugin.so                            19.04-rc2~14-gc0e614c~b34        VPP Steals the NIC for Container integration
+
  16. stn_plugin.so                            19.08-rc0~170-g3e9b7a219        VPP Steals the NIC (STN) for Container Integration
  17. acl_plugin.so                            19.04-rc2~14-gc0e614c~b34        Access Control Lists
+
  17. http_static_plugin.so                    19.08-rc0~170-g3e9b7a219        HTTP Static Server
  18. crypto_openssl_plugin.so                19.04-rc2~14-gc0e614c~b34        OpenSSL Crypto Engine Plugin
+
18. acl_plugin.so                            19.08-rc0~170-g3e9b7a219        Access Control Lists (ACL)
  19. tlsmbedtls_plugin.so                    19.04-rc2~14-gc0e614c~b34        mbedtls based TLS Engine
+
  19. crypto_openssl_plugin.so                19.08-rc0~170-g3e9b7a219        OpenSSL Crypto Engine
  20. ikev2_plugin.so                          19.04-rc2~14-gc0e614c~b34        IKEv2
+
  20. tlsmbedtls_plugin.so                    19.08-rc0~170-g3e9b7a219        Transport Layer Security (TLS) Engine, Mbedtls Based
  21. ct6_plugin.so                            19.04-rc2~14-gc0e614c~b34        ipv6 connection tracker
+
  21. ikev2_plugin.so                          19.08-rc0~170-g3e9b7a219        Internet Key Exchange (IKEv2) Protocol
  22. cdp_plugin.so                            19.04-rc2~14-gc0e614c~b34        Cisco Discovery Protocol
+
  22. ct6_plugin.so                            19.08-rc0~170-g3e9b7a219        IPv6 Connection Tracker
  23. lacp_plugin.so                          19.04-rc2~14-gc0e614c~b34        Link Aggregation Control Protocol
+
  23. cdp_plugin.so                            19.08-rc0~170-g3e9b7a219        Cisco Discovery Protocol (CDP)
  24. flowprobe_plugin.so                      19.04-rc2~14-gc0e614c~b34        Flow per Packet
+
  24. lacp_plugin.so                          19.08-rc0~170-g3e9b7a219        Link Aggregation Control Protocol (LACP)
  25. svs_plugin.so                            19.04-rc2~14-gc0e614c~b34        Source VRF Select
+
  25. flowprobe_plugin.so                      19.08-rc0~170-g3e9b7a219        Flow per Packet
  26. nsim_plugin.so                          19.04-rc2~14-gc0e614c~b34        network delay simulator plugin
+
  26. svs_plugin.so                            19.08-rc0~170-g3e9b7a219        Source Virtual Routing and Fowarding (VRF) Select
  27. mactime_plugin.so                        19.04-rc2~14-gc0e614c~b34        Time-based MAC source-address filter
+
  27. nsim_plugin.so                          19.08-rc0~170-g3e9b7a219        Network Delay Simulator
  28. lb_plugin.so                            19.04-rc2~14-gc0e614c~b34        Load Balancer
+
  28. mactime_plugin.so                        19.08-rc0~170-g3e9b7a219        Time-based MAC Source Address Filter
  29. quic_plugin.so                          19.04-rc2~14-gc0e614c~b34        Quic transport protocol
+
  29. lb_plugin.so                            19.08-rc0~170-g3e9b7a219        Load Balancer (LB)
  30. crypto_ia32_plugin.so                    19.04-rc2~14-gc0e614c~b34        Intel AESNI Software Crypto Backend Plugin
+
  30. quic_plugin.so                          19.08-rc0~170-g3e9b7a219        Quic transport protocol
  31. srv6as_plugin.so                        19.04-rc2~14-gc0e614c~b34        Static SRv6 proxy
+
  31. crypto_ia32_plugin.so                    19.08-rc0~170-g3e9b7a219        Intel IA32 Software Crypto Engine
  32. srv6ad_plugin.so                        19.04-rc2~14-gc0e614c~b34        Dynamic SRv6 proxy
+
  32. srv6as_plugin.so                        19.08-rc0~170-g3e9b7a219        Static Segment Routing for IPv6 (SRv6) Proxy
  33. rdma_plugin.so                          19.04-rc2~14-gc0e614c~b34        RDMA (ibverb) Device Plugin
+
  33. srv6ad_plugin.so                        19.08-rc0~170-g3e9b7a219        Dynamic Segment Routing for IPv6 (SRv6) Proxy
  34. vmxnet3_plugin.so                        19.04-rc2~14-gc0e614c~b34        VMWare Vmxnet3 Device Plugin
+
  34. rdma_plugin.so                          19.08-rc0~170-g3e9b7a219        RDMA IBverbs Device Driver
  35. gbp_plugin.so                            19.04-rc2~14-gc0e614c~b34        Group Based Policy
+
  35. vmxnet3_plugin.so                        19.08-rc0~170-g3e9b7a219        VMWare Vmxnet3 Device Driver
  36. igmp_plugin.so                          19.04-rc2~14-gc0e614c~b34        IGMP messaging
+
  36. gbp_plugin.so                            19.08-rc0~170-g3e9b7a219        Group Based Policy (GBP)
  37. nat_plugin.so                            19.04-rc2~14-gc0e614c~b34        Network Address Translation
+
  37. igmp_plugin.so                          19.08-rc0~170-g3e9b7a219        Internet Group Management Protocol (IGMP)
 +
  38. nat_plugin.so                            19.08-rc0~170-g3e9b7a219        Network Address Translation (NAT)
  
 
* '''vpp-dbg''' - Description: Vector Packet Processing--debug symbols
 
* '''vpp-dbg''' - Description: Vector Packet Processing--debug symbols
Line 73: Line 74:
 
VPP release packages are available at: https://packagecloud.io/fdio/release
 
VPP release packages are available at: https://packagecloud.io/fdio/release
  
'''Note to VPP Committers:''' 
+
Note to VPP Release Managers:
 
Pre-release packages are staged for final verification at: https://packagecloud.io/fdio/staging
 
Pre-release packages are staged for final verification at: https://packagecloud.io/fdio/staging
  
Line 97: Line 98:
 
* Optional Debs
 
* Optional Debs
  
  sudo apt-get install vpp-plugins vpp-dbg vpp-dev vpp-api-java vpp-api-python vpp-api-lua
+
  sudo apt-get install vpp vpp-plugin-core vpp-plugin-dpdk vpp-dbg vpp-dev vpp-ext-deps vpp-api-python vpp-api-java
 +
Note to Release Managers:
 +
As of 19.04, vpp-api-java is produced by the JVPP project which has a delayed release cycle.  Do not include vpp-api-java when verifying release packages.
  
* Install all VPP packages
+
Prior to 19.04,
  
  sudo apt-get install vpp*
+
  sudo apt-get install vpp vpp-plugins vpp-dbg vpp-dev vpp-api-java vpp-api-python vpp-api-lua
  
Note: vpp-plugins contains the dpdk-plugin needed to use dpdk drivers for hardware interfaces.
+
Note:
 +
Prior to 19.04, vpp-plugins contained the dpdk-plugin needed to use dpdk drivers for hardware interfaces. Starting with 19.04, the dpdk drivers are contained in vpp-plugin-dpdk
 +
 
 +
* Installing a specific package version
 +
 
 +
export VPP_VER=19.01.2-release
 +
sudo apt-get install vpp=$VPP_VER vpp-lib=$VPP_VER
  
 
* Uninstalling Debs
 
* Uninstalling Debs
Line 111: Line 120:
  
 
==== RPMs ====
 
==== RPMs ====
'''Note''': Circa 19.04-rc0 some dependencies were introduced for Centos7 packages are required to install VPP:
+
Note:
 +
Circa 19.04-rc0 some dependencies were introduced for Centos7 packages are required to install VPP:
  
 
  --> Finished Dependency Resolution
 
  --> Finished Dependency Resolution
Line 135: Line 145:
 
* Optional RPMs
 
* Optional RPMs
  
  sudo yum install vpp-plugins vpp-devel vpp-api-python vpp-api-lua vpp-api-java
+
  sudo yum install vpp vpp-plugins vpp-devel vpp-debuginfo vpp-ext-deps vpp-api-python vpp-api-lua vpp-api-java
  
* Install all vpp packages
+
Note:
 +
vpp-plugins contains the dpdk-plugin needed to use dpdk drivers for hardware interfaces.
  
  sudo yum install vpp*
+
Note to VPP Release Managers:
 +
As of 19.04, vpp-api-java is produced by the JVPP project which has a delayed release cycle. Do not include vpp-api-java when verifying VPP release packages.
  
Note: vpp-plugins contains the dpdk-plugin needed to use dpdk drivers for hardware interfaces.
+
* List all vpp packages
 +
yum list vpp*
  
 
* Start VPP
 
* Start VPP
Line 150: Line 163:
  
 
  sudo yum autoremove vpp*
 
  sudo yum autoremove vpp*
 
== openSUSE ==
 
Blog-post: https://www.suse.com/communities/blog/vector-packet-processing-vpp-opensuse/
 
=== Install from official repositories ===
 
==== openSUSE Tumbleweed (rolling release) ====
 
<pre>
 
sudo zypper install vpp vpp-plugins
 
</pre>
 
 
==== openSUSE Leap 42.3 ====
 
<pre>
 
sudo zypper addrepo --name network https://download.opensuse.org/repositories/network/openSUSE_Leap_42.3/network.repo
 
sudo zypper install vpp vpp-plugins
 
</pre>
 
 
=== Install from FD.io repositories ===
 
 
If the version of VPP you require has not yet made it in to the official repository you can elect to use the FD.io release repository.
 
 
==== openSUSE Leap 42.3 ====
 
 
This repository is available since VPP 18.04.
 
 
<pre>
 
sudo zypper addrepo --type rpm-md --name "FD.io release" https://nexus.fd.io/content/repositories/fd.io.osleap423/ fdio-leap423
 
sudo zypper install vpp vpp-plugins
 
</pre>
 
 
==== openSUSE Leap 15 ====
 
 
This repository is available since VPP 18.10.
 
 
If you are interested in cutting-edge master branch then:
 
<pre>
 
sudo curl -s https://packagecloud.io/install/repositories/fdio/master/script.rpm.sh | sudo bash
 
sudo zypper install vpp vpp-plugins
 
</pre>
 
 
If instead you are looking for a stable release, the latest and greatest available is 18.10
 
<pre>
 
sudo curl -s https://packagecloud.io/install/repositories/fdio/1810/script.rpm.sh | sudo bash
 
sudo zypper install vpp vpp-plugins
 
</pre>
 
 
=== Uninstall ===
 
==== openSUSE Tumbleweed (rolling release) ====
 
<pre>
 
sudo zypper remove -u vpp vpp-plugins
 
</pre>
 
 
==== openSUSE Leap 42.3 ====
 
<pre>
 
sudo zypper remove -u vpp vpp-plugins
 
</pre>
 
 
Optionally also remove the repository:
 
<pre>
 
sudo zypper removerepo network
 
</pre>
 
or
 
<pre>
 
sudo zypper removerepo fdio-leap423
 
</pre>
 
 
== Arch Linux ==
 
 
Available in the Arch User Repository (AUR): https://aur.archlinux.org/packages/vpp/
 
 
(Currently the bin packages do not work).
 
 
 
= Getting jvpp jar =
 
 
'''NOTE:''' As of VPP 19.04, [[JVPP|JVPP]] is now an independent FD.io project.
 
 
== Directly downloading jvpp.jar ==
 
vpp provides java bindings which can be [https://nexus.fd.io/content/repositories/fd.io.release/io/fd/vpp/jvpp-core/18.01/jvpp-core-18.01.jar downloaded]
 
 
== Getting jvpp via maven ==
 
 
Add the following to the repositories section in your ~/.m2/settings.xml to pick up the fd.io maven repo:
 
 
<repository>
 
  <id>fd.io-release</id>
 
  <name>fd.io-release</name>
 
  <url>https://nexus.fd.io/content/repositories/fd.io.release/</url>
 
  <releases>
 
    <enabled>false</enabled>
 
  </releases>
 
  <snapshots>
 
    <enabled>true</enabled>
 
  </snapshots>
 
</repository>
 
 
[https://maven.apache.org/guides/mini/guide-multiple-repositories.html More information on setting up maven repositories in settings.xml].
 
 
Then you can get jvpp by putting in the dependencies section of your pom.xml file:
 
 
<dependency>
 
  <groupId>io.fd.vpp</groupId>
 
  <artifactId>jvpp-core</artifactId>
 
  <version>18.04</version>
 
</dependency>
 
 
[https://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html More information on maven dependency managment]
 
 
== Old Nexus Apt/Yum repo instructions ==
 
 
If you wish to access the old Nexus Apt/Yum repo instructions there are available [https://wiki.fd.io/index.php?title=VPP/Installing_VPP_binaries_from_packages&oldid=8167#Ubuntu.2FDebian here].
 

Latest revision as of 13:57, 16 February 2021

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).

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-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.
    • svm - vm library
    • vlib - vector processing library
    • vlib-api - binary API library
    • vnet - network stack library
  • vpp-plugin-core & vpp-plugin-dpdk - Description: Vector Packet Processing--plugin modules
$ sudo vppctl show plugins        
Plugin path is: /usr/lib/x86_64-linux-gnu/vpp_plugins:/usr/lib/vpp_plugins

    Plugin                                   Version                          Description
 1. ioam_plugin.so                           19.08-rc0~170-g3e9b7a219         Inbound Operations, Administration, and Maintenance (OAM)
 2. memif_plugin.so                          19.08-rc0~170-g3e9b7a219         Packet Memory Interface (memif) -- Experimental
 3. perfmon_plugin.so                        19.08-rc0~170-g3e9b7a219         Performance Monitor
 4. crypto_ipsecmb_plugin.so                 19.08-rc0~170-g3e9b7a219         Intel IPSEC Multi-buffer Crypto Engine
 5. nsh_plugin.so                            19.08-rc0~170-g3e9b7a219         Network Service Header (NSH)
 6. avf_plugin.so                            19.08-rc0~170-g3e9b7a219         Intel Adaptive Virtual Function (AVF) Device Driver
 7. pppoe_plugin.so                          19.08-rc0~170-g3e9b7a219         PPP over Ethernet (PPPoE)
 8. abf_plugin.so                            19.08-rc0~170-g3e9b7a219         Access Control List (ACL) Based Forwarding
 9. srv6am_plugin.so                         19.08-rc0~170-g3e9b7a219         Masquerading Segment Routing for IPv6 (SRv6) Proxy
10. ila_plugin.so                            19.08-rc0~170-g3e9b7a219         Identifier Locator Addressing (ILA) for IPv6
11. l2e_plugin.so                            19.08-rc0~170-g3e9b7a219         Layer 2 (L2) Emulation
12. tlsopenssl_plugin.so                     19.08-rc0~170-g3e9b7a219         Transport Layer Security (TLS) Engine, OpenSSL Based
13. gtpu_plugin.so                           19.08-rc0~170-g3e9b7a219         GPRS Tunnelling Protocol, User Data (GTPv1-U)
14. map_plugin.so                            19.08-rc0~170-g3e9b7a219         Mapping of Address and Port (MAP)
15. dpdk_plugin.so                           19.08-rc0~170-g3e9b7a219         Data Plane Development Kit (DPDK)
16. stn_plugin.so                            19.08-rc0~170-g3e9b7a219         VPP Steals the NIC (STN) for Container Integration
17. http_static_plugin.so                    19.08-rc0~170-g3e9b7a219         HTTP Static Server
18. acl_plugin.so                            19.08-rc0~170-g3e9b7a219         Access Control Lists (ACL)
19. crypto_openssl_plugin.so                 19.08-rc0~170-g3e9b7a219         OpenSSL Crypto Engine
20. tlsmbedtls_plugin.so                     19.08-rc0~170-g3e9b7a219         Transport Layer Security (TLS) Engine, Mbedtls Based
21. ikev2_plugin.so                          19.08-rc0~170-g3e9b7a219         Internet Key Exchange (IKEv2) Protocol
22. ct6_plugin.so                            19.08-rc0~170-g3e9b7a219         IPv6 Connection Tracker
23. cdp_plugin.so                            19.08-rc0~170-g3e9b7a219         Cisco Discovery Protocol (CDP)
24. lacp_plugin.so                           19.08-rc0~170-g3e9b7a219         Link Aggregation Control Protocol (LACP)
25. flowprobe_plugin.so                      19.08-rc0~170-g3e9b7a219         Flow per Packet
26. svs_plugin.so                            19.08-rc0~170-g3e9b7a219         Source Virtual Routing and Fowarding (VRF) Select
27. nsim_plugin.so                           19.08-rc0~170-g3e9b7a219         Network Delay Simulator
28. mactime_plugin.so                        19.08-rc0~170-g3e9b7a219         Time-based MAC Source Address Filter
29. lb_plugin.so                             19.08-rc0~170-g3e9b7a219         Load Balancer (LB)
30. quic_plugin.so                           19.08-rc0~170-g3e9b7a219         Quic transport protocol
31. crypto_ia32_plugin.so                    19.08-rc0~170-g3e9b7a219         Intel IA32 Software Crypto Engine
32. srv6as_plugin.so                         19.08-rc0~170-g3e9b7a219         Static Segment Routing for IPv6 (SRv6) Proxy
33. srv6ad_plugin.so                         19.08-rc0~170-g3e9b7a219         Dynamic Segment Routing for IPv6 (SRv6) Proxy
34. rdma_plugin.so                           19.08-rc0~170-g3e9b7a219         RDMA IBverbs Device Driver
35. vmxnet3_plugin.so                        19.08-rc0~170-g3e9b7a219         VMWare Vmxnet3 Device Driver
36. gbp_plugin.so                            19.08-rc0~170-g3e9b7a219         Group Based Policy (GBP)
37. igmp_plugin.so                           19.08-rc0~170-g3e9b7a219         Internet Group Management Protocol (IGMP)
38. nat_plugin.so                            19.08-rc0~170-g3e9b7a219         Network Address Translation (NAT)
  • 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-api-java - Description: JAVA binding for the VPP Binary API.
  • vpp-api-python - Description: Python binding for the VPP Binary API.
  • vpp-api-lua - Description: Lua binding for the VPP Binary API.

Ubuntu/Debian/Centos

Packages are published for both the amd64 (Intel) and aarch64 (ARM) architectures. The packages are stored in the same repository so no special action is required to select your architecture.

Add fd.io repo

VPP release packages are available at: https://packagecloud.io/fdio/release

Note to VPP Release Managers: Pre-release packages are staged for final verification at: https://packagecloud.io/fdio/staging

If you follow that link you should see a screen presenting buttons to click to get instructions for installing Debian/Rpm packages. Click on the appropriate link for instructions, and those should work for Ubuntu 16.04, 18.04, or Centos7. What to expect when following the link to https://packagecloud.io/fdio/release is in the image below: Packagecloud repo install

If you wish to install the merge-by-merge packages for the vpp master branch or the vpp stable/YYMM branches, the instructions are the same but use instead:

Install Packages

Debs

Once you have installed the repo:

sudo apt-get update
sudo apt-get install vpp
  • Optional Debs
sudo apt-get install vpp vpp-plugin-core vpp-plugin-dpdk vpp-dbg vpp-dev vpp-ext-deps vpp-api-python vpp-api-java

Note to Release Managers: As of 19.04, vpp-api-java is produced by the JVPP project which has a delayed release cycle. Do not include vpp-api-java when verifying release packages.

Prior to 19.04,

sudo apt-get install vpp vpp-plugins vpp-dbg vpp-dev vpp-api-java vpp-api-python vpp-api-lua

Note: Prior to 19.04, vpp-plugins contained the dpdk-plugin needed to use dpdk drivers for hardware interfaces. Starting with 19.04, the dpdk drivers are contained in vpp-plugin-dpdk

  • Installing a specific package version
export VPP_VER=19.01.2-release
sudo apt-get install vpp=$VPP_VER vpp-lib=$VPP_VER
  • Uninstalling Debs
sudo apt-get remove --purge vpp*
sudo apt autoremove

RPMs

Note: Circa 19.04-rc0 some dependencies were introduced for Centos7 packages are required to install VPP:

--> Finished Dependency Resolution
Error: Package: vpp-plugins-19.04-rc1~b4.x86_64 (fdio_1904)
           Requires: libmbedtls.so.10()(64bit)
Error: Package: vpp-devel-19.04-rc1~b4.x86_64 (fdio_1904)
           Requires: /usr/bin/python3
Error: Package: vpp-19.04-rc1~b4.x86_64 (fdio_1904)
           Requires: /usr/bin/python3
Error: Package: vpp-plugins-19.04-rc1~b4.x86_64 (fdio_1904)
           Requires: libmbedx509.so.0()(64bit)
Error: Package: vpp-plugins-19.04-rc1~b4.x86_64 (fdio_1904)
           Requires: libmbedcrypto.so.2()(64bit)

Installing the following packages on Centos7 resolves these dependency issues:

sudo yum install epel-release mbedtls python36

Once you have installed the repo:

sudo yum install vpp
  • Optional RPMs
sudo yum install vpp vpp-plugins vpp-devel vpp-debuginfo vpp-ext-deps vpp-api-python vpp-api-lua vpp-api-java

Note: vpp-plugins contains the dpdk-plugin needed to use dpdk drivers for hardware interfaces.

Note to VPP Release Managers: As of 19.04, vpp-api-java is produced by the JVPP project which has a delayed release cycle. Do not include vpp-api-java when verifying VPP release packages.

  • List all vpp packages
yum list vpp*
  • Start VPP
sudo systemctl restart vpp

Uninstalling VPP RPMs

sudo yum autoremove vpp*