步骤1 下载文件
wget https://github.com/Ettercap/ettercap/archive/v0.8.3.1.tar.gz
或者去官网下载:https://www.ettercap-project.org/downloads.html
步骤2 解压文件
tar vfxz '/home/chiam/Desktop/v0.8.3.1.tar.gz'
步骤3 安装依赖
sudo apt-get install debhelper bison check cmake flex ghostscript libbsd-dev libcurl4-openssl-dev libgeoip-dev libltdl-dev libluajit-5.1-dev libncurses5-dev libnet1-dev libpcap-dev libpcre3-dev libssl-dev libgtk-3-dev libgtk2.0-dev
步骤4 编译安装
在终端中打开ettercap目录开始执行命令:
mkdir build
cd build
sudo cmake ../
sudo make install
安装完成