5b4a1d86feec0b487b4f482dd18b3775905cf1d2
[vpp.git] / docs / gettingstarted / users / installing / ubuntu.rst
1 .. _ubuntu:
2
3 .. toctree::
4  
5 Ubuntu 16.04 - Setup the fd.io Repository
6 ==========================================
7
8 From the following, choose one of the releases to install.
9
10
11 Update the OS
12 -----------------------
13
14 It 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
21 Point to the Repository
22 -----------------------------------
23
24 Create a file **"/etc/apt/sources.list.d/99fd.io.list"** with the contents that point to
25 the version needed. The contents needed are shown below.
26
27 .. _install_vpp:
28
29 VPP latest Release
30 ^^^^^^^^^^^^^^^^^^^
31
32 Create 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
39 VPP stable/1804 Branch
40 ^^^^^^^^^^^^^^^^^^^^^^^
41
42 Create 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
49 VPP master Branch
50 ^^^^^^^^^^^^^^^^^^^^
51
52 Create 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
59 Install the Mandatory Packages
60 ===============================
61
62 .. code-block:: console
63
64   sudo apt-get update
65   sudo apt-get install vpp vpp-lib vpp-plugin
66
67
68 Install the Optional Packages
69 ==============================
70
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
76 Uninstall the Packages
77 ======================
78
79 .. code-block:: console
80
81   sudo apt-get remove --purge vpp*