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 | ce96dda | 2018-08-14 16:04:09 -0400 | [diff] [blame^] | 8 | Choose one of the following 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 | |
John DeNisco | ce96dda | 2018-08-14 16:04:09 -0400 | [diff] [blame^] | 14 | It is a good idea to first update and upgrade the OS before starting; run the following command to update the OS: |
John DeNisco | 06dcd45 | 2018-07-26 12:45:10 -0400 | [diff] [blame] | 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 | |
John DeNisco | ce96dda | 2018-08-14 16:04:09 -0400 | [diff] [blame^] | 24 | Create a file **/etc/apt/sources.list.d/99fd.io.list** with contents that point to |
John DeNisco | 06dcd45 | 2018-07-26 12:45:10 -0400 | [diff] [blame] | 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 | |
John DeNisco | ce96dda | 2018-08-14 16:04:09 -0400 | [diff] [blame^] | 32 | Create the file **/etc/apt/sources.list.d/99fd.io.list** that contain the following contents: |
John DeNisco | 06dcd45 | 2018-07-26 12:45:10 -0400 | [diff] [blame] | 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 | |
John DeNisco | ce96dda | 2018-08-14 16:04:09 -0400 | [diff] [blame^] | 42 | Create the file **/etc/apt/sources.list.d/99fd.io.list** that contain the following contents: |
John DeNisco | 06dcd45 | 2018-07-26 12:45:10 -0400 | [diff] [blame] | 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 | |
John DeNisco | ce96dda | 2018-08-14 16:04:09 -0400 | [diff] [blame^] | 52 | Create the file **/etc/apt/sources.list.d/99fd.io.list** that contain the following contents: |
John DeNisco | 06dcd45 | 2018-07-26 12:45:10 -0400 | [diff] [blame] | 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 | |
John DeNisco | ce96dda | 2018-08-14 16:04:09 -0400 | [diff] [blame^] | 62 | Install the mandatory packages by running the following commands: |
| 63 | |
John DeNisco | 06dcd45 | 2018-07-26 12:45:10 -0400 | [diff] [blame] | 64 | .. code-block:: console |
| 65 | |
| 66 | sudo apt-get update |
| 67 | sudo apt-get install vpp vpp-lib vpp-plugin |
| 68 | |
| 69 | |
| 70 | Install the Optional Packages |
John DeNisco | c64ba6d | 2018-08-02 15:03:15 -0400 | [diff] [blame] | 71 | ============================== |
John DeNisco | 06dcd45 | 2018-07-26 12:45:10 -0400 | [diff] [blame] | 72 | |
John DeNisco | ce96dda | 2018-08-14 16:04:09 -0400 | [diff] [blame^] | 73 | Install the optional packages by running the following command: |
| 74 | |
John DeNisco | 06dcd45 | 2018-07-26 12:45:10 -0400 | [diff] [blame] | 75 | .. code-block:: console |
| 76 | |
| 77 | sudo apt-get install vpp-dbg vpp-dev vpp-api-java vpp-api-python vpp-api-lua |
| 78 | |
| 79 | |
| 80 | Uninstall the Packages |
| 81 | ====================== |
| 82 | |
John DeNisco | ce96dda | 2018-08-14 16:04:09 -0400 | [diff] [blame^] | 83 | Uninstall the packages by running the following command: |
| 84 | |
John DeNisco | 06dcd45 | 2018-07-26 12:45:10 -0400 | [diff] [blame] | 85 | .. code-block:: console |
| 86 | |
| 87 | sudo apt-get remove --purge vpp* |