1 安装CMake sudo apt-get install cmake 2 安装GNU MP library 下载网址:链接内容,解压,然后进入该目录 #configure #make #make check #make install 下载网址:链接内容 cd tpm-emulator-master mkdir build cd build #cmake ../ #make #make install 3 初始化、启动TPM emulator 初始化TPM模拟器 进入build