当前位置:网站首页>P4 安装bmv2 详细教程
P4 安装bmv2 详细教程
2022-07-01 08:04:00 【木可木可*】
Ubuntu版本 20.04
1、下载 && 安装依赖
Github链接:
GitHub - p4lang/behavioral-model: The reference P4 software switch
可以自己手动下载依赖,如下是bmv2的一些依赖项
# sudo apt-get install -y automake cmake libgmp-dev \
libpcap-dev libboost-dev libboost-test-dev libboost-program-options-dev \
libboost-system-dev libboost-filesystem-dev libboost-thread-dev \
libevent-dev libtool flex bison pkg-config g++ libssl-dev
也可以直接通过README中给出的脚本直接运行 ./install_deps.sh
# git clone https://github.com/p4lang/behavioral-model.git
# cd behavioral-model
# ./install_deps.sh
这里就是 ./install_deps.sh 脚本里的具体的内容(建议直接用脚本执行,简单多了。。)</
边栏推荐
- SharePoint - how to quickly check whether SharePoint is standard or enterprise edition?
- Li Kou daily question - day 31 -1790 Can a string exchange be performed only once to make two strings equal
- LM08丨网格系列之网格反转(精)
- Gdip - hatchBrush图案表
- STM32 uses esp01s to go to the cloud, mqtt FX debugging
- PWN攻防世界int_overflow
- EDA开源仿真工具verilator入门6:调试实例
- Latex table
- base64
- [introduction] approximate value
猜你喜欢
【批处理DOS-CMD命令-汇总和小结】-Cmd窗口中常用操作符(<、<<、&<、>、>>、&>、&、&&、||、|、()、;、@)
Day5: scanner object, next() and nextline(), sequential structure, selection structure, circular structure
LM08丨网格系列之网格反转(精)
The Windows C disk is full
web254
[untitled]
[website architecture] solve 90% of distributed transactions in one move, and introduce the working principles and application scenarios of database transactions and distributed transactions
Teach you how to apply for domestic trademark online step by step
Thesis learning -- Analysis and Research on similarity query of hydrological time series
【Redis】一气呵成,带你了解Redis安装与连接
随机推荐
Aardio - 阴影渐变文字
【mysql学习笔记27】存储过程
AArdio - 【问题】bass库回调时内存增长的问题
軟鍵盤高度報錯
【力扣10天SQL入门】Day10 控制流
三极管是一项伟大的发明
[getting started] enter the integer array and sorting ID, and sort its elements in ascending or descending order
Cmake I two ways to compile source files
How to use layui to display the data in the database in the form of tables
Two expressions of string
5大组合拳,解决校园6大难题,护航教育信息化建设
Caesar
【无标题】
TCP/UDP 通信问题整理
PHP laravel wechat payment
Aardio - Method of self constructed geticonhandle
How to troubleshoot SharePoint online map network drive failure?
力扣每日一题-第31天-202.快乐数
【Redis】一气呵成,带你了解Redis安装与连接
数字转excel的字符串坐标