用tar命令解压文件的时候出错了,信息如下:

tar -jvxf jemalloc-3.6.0.tar.bz2 ./nginx/

tar (child): bzip2: 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

解决方法很简单,只要安装bzip2就行了,yum安装的命令如下:

 

yum -y install bzip2

 

 

服务器不能联网,把压缩包传上去

tar zxvf bzip2-****.tar.gz
cd bzip2-*****
make && make install

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-11-30
  • 2021-09-28
  • 2022-12-23
  • 2022-02-09
猜你喜欢
  • 2021-09-22
  • 2021-08-18
  • 2022-12-23
  • 2021-12-04
  • 2021-08-02
相关资源
相似解决方案