CentOS 7 源码安装 tpm-tools 1.3.9.1
1、下载并解压
mkdir tpm-tools
cd tpm-tools
wget https://nchc.dl.sourceforge.net/project/trousers/tpm-tools/1.3.9.1/tpm-tools-1.3.9.1.tar.gz
tar -zxvf tpm-tools-1.3.9.1.tar.gz
备用下载地址:https://down.24kplus.com/linux/tpm-tools-1.3.9.1.tar.gz
2、编译安装
./configure \
--prefix=/usr \
--bindir=/usr/bin \
--sbindir=/usr/sbin \
--libexecdir=/usr/libexec \
--sysconfdir=/etc/tpm-tools \
--libdir=/usr/lib64 \
--includedir=/usr/include \
--datarootdir=/usr/share \
--infodir=/usr/share/info \
--localedir=/usr/local \
--mandir=/usr/share/man \
--docdir=/usr/share/doc/tpm-tools
make
make install
如果出现 configure: error: tss lib not found: libtspi.so
错误:
yum install trousers-devel
如果出现 configure: error: openssl lib not found: libcrypto.so
错误:
yum install openssl-devel