environment
Ubuntu version: 20.04
VPP version: 23.02
VPP source code download
git clone https://gerrit.fd.io/r/vpp
If you encounter the following error
Execute the following command
git config --global http.sslVerify false
then redownload
Checkout the 23.02 branch
compile
Installation dependencies (root permission is required, the above is downloaded using the test user, the directory belongs to test, use chown to root, otherwise git will report an error in this step)
make install-dep
I have already installed it before, so the prompt is the latest version
Compile (debug version)
make build
will first now depend on
If the network is unstable, it will fail, just execute make build again, and the time to compile dpdk in the middle will be longer
Finally compile VPP
Compiled
Start VPP
make run
Enter the command line, VPP starts successfully
Reference: Building VPP — The Vector Packet Processor v22.02-0-g7911f29c5 documentation