VPP-1474: fix coverity warning
[vpp.git] / docs / gettingstarted / users / configutil / commandfour.rst
1 .. _config-command-four:
2
3 **************************
4 List/Install/Uninstall VPP
5 **************************
6
7 With command option "4" the user can list, install, or uninstall the FD.io VPP
8 packages. If there are packages already installed, then the packages will be listed
9 and the user will be asked if the packages should be uninstalled. If no packages are
10 installed, then the user will be asked if the FD.io packages should be installed. The
11 packages installed will be the latest released packages.
12
13 Uninstalling the packages:
14
15 .. code-block:: console
16
17     What would you like to do?
18     
19     1) Show basic system information
20     2) Dry Run (Will save the configuration files in /usr/local/vpp/vpp-config/dryrun for inspection)
21     3) Full configuration (WARNING: This will change the system configuration)
22     4) List/Install/Uninstall VPP.
23     q) Quit
24     
25     Command: 4
26     
27     These packages are installed on node localhost
28     Name                      Version
29     vpp                       18.04-release
30     vpp-api-java              18.04-release
31     vpp-api-lua               18.04-release
32     vpp-api-python            18.04-release
33     vpp-dbg                   18.04-release
34     vpp-dev                   18.04-release
35     vpp-dpdk-dev              17.01.1-release
36     vpp-dpdk-dkms             17.01.1-release
37     vpp-lib                   18.04-release
38     vpp-nsh-plugin            18.04
39     vpp-nsh-plugin-dbg        18.04
40     vpp-nsh-plugin-dev        18.04
41     vpp-plugins               18.04-release
42     
43     Do you want to uninstall these packages [y/N]? y
44     INFO:root: Local Command: service vpp stop
45     INFO:root:Uninstall Ubuntu
46     INFO:root: Local Command: dpkg -l | grep vpp
47     ....
48     What would you like to do?
49     
50     1) Show basic system information
51     2) Dry Run (Will save the configuration files in /usr/local/vpp/vpp-config/dryrun for inspection)
52     3) Full configuration (WARNING: This will change the system configuration)
53     4) List/Install/Uninstall VPP.
54     q) Quit
55     
56     Command:
57
58 Installing the packages:
59
60 .. code-block:: console
61
62     1) Show basic system information
63     2) Dry Run (Will save the configuration files in /usr/local/vpp/vpp-config/dryrun for inspection)
64     3) Full configuration (WARNING: This will change the system configuration)
65     4) List/Install/Uninstall VPP.
66     q) Quit
67     
68     Command: 4
69     
70     There are no VPP packages on node localhost.
71     Do you want to install VPP [Y/n]? Y
72     INFO:root:  Ubuntu
73     INFO:root:Install Ubuntu
74     INFO:root: Local Command: ls /etc/apt/sources.list.d/99fd.io.list.orig
75     INFO:root:  /etc/apt/sources.list.d/99fd.io.list.orig
76     ....
77
78     What would you like to do?
79     
80     1) Show basic system information
81     2) Dry Run (Will save the configuration files in /usr/local/vpp/vpp-config/dryrun for inspection)
82     3) Full configuration (WARNING: This will change the system configuration)
83     4) List/Install/Uninstall VPP.
84     q) Quit
85     
86     Command: 4
87
88     These packages are installed on node localhost
89     Name                      Version
90     vpp                       18.04-release
91     vpp-api-java              18.04-release
92     vpp-api-lua               18.04-release
93     vpp-api-python            18.04-release
94     vpp-dbg                   18.04-release
95     vpp-dev                   18.04-release
96     vpp-dpdk-dev              17.01.1-release
97     vpp-dpdk-dkms             17.01.1-release
98     vpp-lib                   18.04-release
99     vpp-nsh-plugin            18.04
100     vpp-nsh-plugin-dbg        18.04
101     vpp-nsh-plugin-dev        18.04
102     vpp-plugins               18.04-release
103     
104     Do you want to uninstall these packages [y/N]? N
105
106     What would you like to do?
107     
108     1) Show basic system information
109     2) Dry Run (Will save the configuration files in /usr/local/vpp/vpp-config/dryrun for inspection)
110     3) Full configuration (WARNING: This will change the system configuration)
111     4) List/Install/Uninstall VPP.
112     q) Quit
113     
114     Command: