5 Ubuntu - Setup the FD.io Repository
6 ===================================
8 Choose one of the following releases to install.
13 It is a good idea to first update and upgrade the OS before starting; run the
14 following commands to upgrade the OS and install the curl package to download
15 the setup script from packagecloud.io:
17 .. code-block:: console
20 sudo apt-get dist-upgrade -y
21 sudo apt-get install curl
23 Configure Apt Using the Packagecloud Setup Script
24 -------------------------------------------------
26 FD.io Packagecloud Repositories provides pop-up menu that provides the
27 ability to copy a one-line bash command to fetch the packagecloud setup script.
28 In general, start at the FD.io packagecloud URL:
30 https://packagecloud.io/fdio
32 Then choose the desired repository link (e.g. 'release') and select the "Debian"
33 package icon in the section named "Quick install instructions". When the pop-up
34 dialog appears, select the "Copy" button to copy the command to run the setup
35 script and paste it into a terminal on your server.
43 The URL to install the latest VPP release is
45 https://packagecloud.io/fdio/release
48 VPP master Branch Repo
49 ^^^^^^^^^^^^^^^^^^^^^^
50 The URL to install the latest VPP release is
52 https://packagecloud.io/fdio/release
55 VPP stable release Branch Repo
56 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
58 Stable release branches are named "stable/YYMM" (e.g. stable/2206) and the associated
59 packagecloud repositories are named "YYMM" (e.g 2206). For example, the URL to
60 the VPP 22.06 stable release branch package repository is:
62 https://packagecloud.io/fdio/2206
65 Install the Mandatory Packages
66 ===============================
68 Install the mandatory packages by running the following commands:
70 .. code-block:: console
73 sudo apt-get install vpp vpp-plugin-core vpp-plugin-dpdk
76 Install the Optional Packages
77 ==============================
79 Install the optional packages by running the following command:
81 .. code-block:: console
83 sudo apt-get install vpp-api-python python3-vpp-api vpp-dbg vpp-dev
86 Uninstall the Packages
87 ======================
89 Uninstall the packages by running the following command:
91 .. code-block:: console
93 sudo apt-get remove --purge "vpp*"
96 Remove FD.io Apt source lists
97 =============================
99 Remove FD.io Apt source list files created by the packagecloud apt setup script
100 by running the following command:
102 .. code-block:: console
104 sudo rm /etc/apt/sources.list.d/fdio*.list