解压包的时候报错 [root@git ~]# tar xf boost_1_59_0.tar.bz2 tar (child): lbzip2: Cannot exec: No such file or directory tar (child): Error is not recoverable: exiting now tar: Child returned status 2 tar: Error is not recoverable: exiting now 只需yum 安装 yum -y install bzip2 这个问题就可以解决了。