aboutsummaryrefslogtreecommitdiffstats
path: root/docs/gettingstarted/users/installing/ubuntu.rst
blob: 9c082e667b0c6e2c4a741a0b5ca87bb0e7601444 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
.. _ubuntu:

.. toctree::
 
Ubuntu 16.04 - Setup the fd.io Repository
=========================================

From the following choose one of the releases to install.


Update the OS
-------------

It is probably a good idea to update and upgrade the OS before starting

.. code-block:: console

    apt-get update


Point to the Repository
-----------------------

Create a file **"/etc/apt/sources.list.d/99fd.io.list"** with the contents that point to
the version needed. The contents needed are shown below.

.. _install_vpp:

VPP latest Release
^^^^^^^^^^^^^^^^^^

Create the file **/etc/apt/sources.list.d/99fd.io.list** with contents:

.. code-block:: console

   deb [trusted=yes] https://nexus.fd.io/content/repositories/fd.io.ubuntu.xenial.main/ ./


VPP stable/1804 Branch
^^^^^^^^^^^^^^^^^^^^^^

Create the file **/etc/apt/sources.list.d/99fd.io.list** with contents:

.. code-block:: console

   deb [trusted=yes] https://nexus.fd.io/content/repositories/fd.io.stable.1804.ubuntu.xenial.main/ ./


VPP master Branch
^^^^^^^^^^^^^^^^^

Create the file **/etc/apt/sources.list.d/99fd.io.list** with contents:

.. code-block:: console

   deb [trusted=yes] https://nexus.fd.io/content/repositories/fd.io.master.ubuntu.xenial.main/ ./


Install the Mandatory Packages
==============================

.. code-block:: console

  sudo apt-get update
  sudo apt-get install vpp vpp-lib vpp-plugin


Install the Optional Packages
=============================

.. code-block:: console

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


Uninstall the Packages
======================

.. code-block:: console

  sudo apt-get remove --purge vpp*