blob: 5b4a1d86feec0b487b4f482dd18b3775905cf1d2 [file] [log] [blame]
John DeNisco06dcd452018-07-26 12:45:10 -04001.. _ubuntu:
2
3.. toctree::
4
5Ubuntu 16.04 - Setup the fd.io Repository
John DeNiscoc64ba6d2018-08-02 15:03:15 -04006==========================================
John DeNisco06dcd452018-07-26 12:45:10 -04007
John DeNiscoc64ba6d2018-08-02 15:03:15 -04008From the following, choose one of the releases to install.
John DeNisco06dcd452018-07-26 12:45:10 -04009
10
11Update the OS
John DeNiscoc64ba6d2018-08-02 15:03:15 -040012-----------------------
John DeNisco06dcd452018-07-26 12:45:10 -040013
14It is probably a good idea to update and upgrade the OS before starting
15
16.. code-block:: console
17
18 apt-get update
19
20
21Point to the Repository
John DeNiscoc64ba6d2018-08-02 15:03:15 -040022-----------------------------------
John DeNisco06dcd452018-07-26 12:45:10 -040023
24Create a file **"/etc/apt/sources.list.d/99fd.io.list"** with the contents that point to
25the version needed. The contents needed are shown below.
26
27.. _install_vpp:
28
29VPP latest Release
John DeNiscoc64ba6d2018-08-02 15:03:15 -040030^^^^^^^^^^^^^^^^^^^
John DeNisco06dcd452018-07-26 12:45:10 -040031
32Create the file **/etc/apt/sources.list.d/99fd.io.list** with contents:
33
34.. code-block:: console
35
36 deb [trusted=yes] https://nexus.fd.io/content/repositories/fd.io.ubuntu.xenial.main/ ./
37
38
39VPP stable/1804 Branch
John DeNiscoc64ba6d2018-08-02 15:03:15 -040040^^^^^^^^^^^^^^^^^^^^^^^
John DeNisco06dcd452018-07-26 12:45:10 -040041
42Create the file **/etc/apt/sources.list.d/99fd.io.list** with contents:
43
44.. code-block:: console
45
46 deb [trusted=yes] https://nexus.fd.io/content/repositories/fd.io.stable.1804.ubuntu.xenial.main/ ./
47
48
49VPP master Branch
John DeNiscoc64ba6d2018-08-02 15:03:15 -040050^^^^^^^^^^^^^^^^^^^^
John DeNisco06dcd452018-07-26 12:45:10 -040051
52Create the file **/etc/apt/sources.list.d/99fd.io.list** with contents:
53
54.. code-block:: console
55
56 deb [trusted=yes] https://nexus.fd.io/content/repositories/fd.io.master.ubuntu.xenial.main/ ./
57
58
59Install the Mandatory Packages
John DeNiscoc64ba6d2018-08-02 15:03:15 -040060===============================
John DeNisco06dcd452018-07-26 12:45:10 -040061
62.. code-block:: console
63
64 sudo apt-get update
65 sudo apt-get install vpp vpp-lib vpp-plugin
66
67
68Install the Optional Packages
John DeNiscoc64ba6d2018-08-02 15:03:15 -040069==============================
John DeNisco06dcd452018-07-26 12:45:10 -040070
71.. code-block:: console
72
73 sudo apt-get install vpp-dbg vpp-dev vpp-api-java vpp-api-python vpp-api-lua
74
75
76Uninstall the Packages
77======================
78
79.. code-block:: console
80
81 sudo apt-get remove --purge vpp*