John DeNisco | 06dcd45 | 2018-07-26 12:45:10 -0400 | [diff] [blame] | 1 | .. _ubuntu: |
| 2 | |
| 3 | .. toctree:: |
| 4 | |
| 5 | Ubuntu 16.04 - Setup the fd.io Repository |
John DeNisco | c64ba6d | 2018-08-02 15:03:15 -0400 | [diff] [blame] | 6 | ========================================== |
John DeNisco | 06dcd45 | 2018-07-26 12:45:10 -0400 | [diff] [blame] | 7 | |
John DeNisco | c64ba6d | 2018-08-02 15:03:15 -0400 | [diff] [blame] | 8 | From the following, choose one of the releases to install. |
John DeNisco | 06dcd45 | 2018-07-26 12:45:10 -0400 | [diff] [blame] | 9 | |
| 10 | |
| 11 | Update the OS |
John DeNisco | c64ba6d | 2018-08-02 15:03:15 -0400 | [diff] [blame] | 12 | ----------------------- |
John DeNisco | 06dcd45 | 2018-07-26 12:45:10 -0400 | [diff] [blame] | 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 |
John DeNisco | c64ba6d | 2018-08-02 15:03:15 -0400 | [diff] [blame] | 22 | ----------------------------------- |
John DeNisco | 06dcd45 | 2018-07-26 12:45:10 -0400 | [diff] [blame] | 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 |
John DeNisco | c64ba6d | 2018-08-02 15:03:15 -0400 | [diff] [blame] | 30 | ^^^^^^^^^^^^^^^^^^^ |
John DeNisco | 06dcd45 | 2018-07-26 12:45:10 -0400 | [diff] [blame] | 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 |
John DeNisco | c64ba6d | 2018-08-02 15:03:15 -0400 | [diff] [blame] | 40 | ^^^^^^^^^^^^^^^^^^^^^^^ |
John DeNisco | 06dcd45 | 2018-07-26 12:45:10 -0400 | [diff] [blame] | 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 |
John DeNisco | c64ba6d | 2018-08-02 15:03:15 -0400 | [diff] [blame] | 50 | ^^^^^^^^^^^^^^^^^^^^ |
John DeNisco | 06dcd45 | 2018-07-26 12:45:10 -0400 | [diff] [blame] | 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 |
John DeNisco | c64ba6d | 2018-08-02 15:03:15 -0400 | [diff] [blame] | 60 | =============================== |
John DeNisco | 06dcd45 | 2018-07-26 12:45:10 -0400 | [diff] [blame] | 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 |
John DeNisco | c64ba6d | 2018-08-02 15:03:15 -0400 | [diff] [blame] | 69 | ============================== |
John DeNisco | 06dcd45 | 2018-07-26 12:45:10 -0400 | [diff] [blame] | 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* |