1、安装软件 sudo apt-get install cmake sudo apt-get install libboost-dev 2、编译muduo 下载muduo源码,进入目录后,执行./build.sh。