1、安装gcc 和 build-essential

sudo apt-get install gcc
sudo apt-get install build-essential

2、安装必要的软件

sudo apt-get install autoconf libtool gawk libpcap-dev

a、autoconf是一个用于生成可以自动地配置软件源码包,用以适应多种UNIX类系统的shell脚本工具,其中autoconf需要用到 m4,便于生成脚本。
b、libtool是一款方便生成各种程序库的工具。
c、gawk是一款文本处理的工具
d、libpcap-dev libpcap是数据包捕获函数库。

3、下载nDPI源码

sudo apt-get install git      \\安装git工具
git clone https://github.com/ntop/nDPI.git   \\ 下载源码 

4、进入到nDPI目录

./autogen.sh
./configure
make
sudo make install

5、验证

在命令行输入:ndpiReader

Ubuntu 编译安装 nDPI

也可以进入nDPI/tests

cd tests/
./do.sh

Ubuntu 编译安装 nDPI

 

相关文章:

  • 2021-07-29
  • 2021-12-04
  • 2021-08-13
  • 2021-08-15
  • 2021-08-15
  • 2021-12-18
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-12-04
  • 2022-01-22
  • 2021-07-28
  • 2021-11-24
  • 2021-05-21
  • 2021-09-08
  • 2022-02-16
相关资源
相似解决方案