2018-07-26 12:45:10 -04:00
|
|
|
.. _ubuntu:
|
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
|
2019-02-19 16:25:05 -05:00
|
|
|
Ubuntu 18.04 - Setup the FD.io Repository
|
2018-08-02 15:03:15 -04:00
|
|
|
==========================================
|
2018-07-26 12:45:10 -04:00
|
|
|
|
2018-11-09 15:20:26 -05:00
|
|
|
Choose one of the following releases to install.
|
2018-07-26 12:45:10 -04:00
|
|
|
|
|
|
|
Update the OS
|
2018-08-02 15:03:15 -04:00
|
|
|
-----------------------
|
2018-07-26 12:45:10 -04:00
|
|
|
|
2018-11-09 15:20:26 -05:00
|
|
|
It is a good idea to first update and upgrade the OS before starting; run the
|
|
|
|
following command to update the OS:
|
2018-07-26 12:45:10 -04:00
|
|
|
|
|
|
|
.. code-block:: console
|
|
|
|
|
|
|
|
apt-get update
|
|
|
|
|
|
|
|
|
|
|
|
Point to the Repository
|
2018-08-02 15:03:15 -04:00
|
|
|
-----------------------------------
|
2018-07-26 12:45:10 -04:00
|
|
|
|
2018-08-14 16:04:09 -04:00
|
|
|
Create a file **/etc/apt/sources.list.d/99fd.io.list** with contents that point to
|
2018-07-26 12:45:10 -04:00
|
|
|
the version needed. The contents needed are shown below.
|
|
|
|
|
|
|
|
.. _install_vpp:
|
|
|
|
|
|
|
|
VPP latest Release
|
2018-08-02 15:03:15 -04:00
|
|
|
^^^^^^^^^^^^^^^^^^^
|
2018-07-26 12:45:10 -04:00
|
|
|
|
2018-08-14 16:04:09 -04:00
|
|
|
Create the file **/etc/apt/sources.list.d/99fd.io.list** that contain the following contents:
|
2018-07-26 12:45:10 -04:00
|
|
|
|
|
|
|
.. code-block:: console
|
|
|
|
|
2019-05-01 16:30:36 -04:00
|
|
|
deb [trusted=yes] https://packagecloud.io/fdio/release/ubuntu bionic main
|
2018-07-26 12:45:10 -04:00
|
|
|
|
2018-11-09 15:20:26 -05:00
|
|
|
Get the key:
|
2018-07-26 12:45:10 -04:00
|
|
|
|
2018-11-09 15:20:26 -05:00
|
|
|
.. code-block:: console
|
|
|
|
|
|
|
|
curl -L https://packagecloud.io/fdio/release/gpgkey | sudo apt-key add -
|
|
|
|
|
2018-07-26 12:45:10 -04:00
|
|
|
VPP master Branch
|
2018-08-02 15:03:15 -04:00
|
|
|
^^^^^^^^^^^^^^^^^^^^
|
2018-07-26 12:45:10 -04:00
|
|
|
|
2018-08-14 16:04:09 -04:00
|
|
|
Create the file **/etc/apt/sources.list.d/99fd.io.list** that contain the following contents:
|
2018-07-26 12:45:10 -04:00
|
|
|
|
|
|
|
.. code-block:: console
|
|
|
|
|
2019-05-01 16:30:36 -04:00
|
|
|
deb [trusted=yes] https://packagecloud.io/fdio/master/ubuntu bionic main
|
2018-11-09 15:20:26 -05:00
|
|
|
|
|
|
|
Get the key:
|
|
|
|
|
|
|
|
.. code-block:: console
|
|
|
|
|
|
|
|
curl -L https://packagecloud.io/fdio/master/gpgkey | sudo apt-key add -
|
2018-07-26 12:45:10 -04:00
|
|
|
|
|
|
|
|
|
|
|
Install the Mandatory Packages
|
2018-08-02 15:03:15 -04:00
|
|
|
===============================
|
2018-07-26 12:45:10 -04:00
|
|
|
|
2018-08-14 16:04:09 -04:00
|
|
|
Install the mandatory packages by running the following commands:
|
|
|
|
|
2018-07-26 12:45:10 -04:00
|
|
|
.. code-block:: console
|
|
|
|
|
|
|
|
sudo apt-get update
|
2019-05-01 16:30:36 -04:00
|
|
|
sudo apt-get install vpp vpp-plugin-core vpp-plugin-dpdk
|
2018-07-26 12:45:10 -04:00
|
|
|
|
2018-11-09 15:20:26 -05:00
|
|
|
|
2018-07-26 12:45:10 -04:00
|
|
|
Install the Optional Packages
|
2018-08-02 15:03:15 -04:00
|
|
|
==============================
|
2018-07-26 12:45:10 -04:00
|
|
|
|
2018-08-14 16:04:09 -04:00
|
|
|
Install the optional packages by running the following command:
|
|
|
|
|
2018-07-26 12:45:10 -04:00
|
|
|
.. code-block:: console
|
|
|
|
|
2019-05-01 16:30:36 -04:00
|
|
|
sudo apt-get install vpp-api-python python3-vpp-api vpp-dbg vpp-dev
|
2018-07-26 12:45:10 -04:00
|
|
|
|
|
|
|
|
|
|
|
Uninstall the Packages
|
|
|
|
======================
|
|
|
|
|
2018-08-14 16:04:09 -04:00
|
|
|
Uninstall the packages by running the following command:
|
|
|
|
|
2018-07-26 12:45:10 -04:00
|
|
|
.. code-block:: console
|
|
|
|
|
|
|
|
sudo apt-get remove --purge vpp*
|