加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
p4-deps.sh 871 Bytes
一键复制 编辑 原始数据 按行查看 历史
poohdang 提交于 2024-04-25 11:23 . install py-ipaddr for p4c in deps.sh
#!/bin/bash
set -e
sudo apt-get update
sudo apt-get install build-essential -y
sudo apt-get install net-tools tcpdump curl -y
# 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
# PI
sudo apt-get install -y libreadline-dev valgrind libtool-bin libboost-dev libboost-system-dev libboost-thread-dev
# p4c
sudo apt-get install cmake g++ git automake libtool libgc-dev bison flex \
libfl-dev libgmp-dev libboost-dev libboost-iostreams-dev \
libboost-graph-dev llvm pkg-config python3 python3-pip
sudo apt-get install -y doxygen graphviz
python3 -m pip install ipaddr scapy ply
# Tutorial
python3 -m pip install psutil
python3 -m pip install crcmod
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化