安装完linux ,发现没有UNZIP,没办法,重新安装。

 

1、获取unzip源码

sudo wget http://downloads.sourceforge.net/infozip/unzip552.tar.gz

 

2、解压

tar zxvf unzip552.tar.gz

 

3、进入目录

cd unzip-5.52/

 

4、将Makefile从unix子目录复制到当前目录

cp unix/Makefile ./

 

5、安装

make generic

make install

 

好了,可以用了!

 
 
如何使用,下面告诉你噢!
 

unzip -x sh.zip
cd ../
chmod -R 755 sh

ll install.sh  查看权限

cd sh
./install.sh   ./表示安装

 

unzip test.zip -d /root/ 

 
 
 
unzip

安装完linux ,发现没有UNZIP,没办法,重新安装。

 

1、获取unzip源码

sudo wget http://downloads.sourceforge.net/infozip/unzip552.tar.gz

 

2、解压

tar zxvf unzip552.tar.gz

 

3、进入目录

cd unzip-5.52/

 

4、将Makefile从unix子目录复制到当前目录

cp unix/Makefile ./

 

5、安装

make generic

make install

 

好了,可以用了!

相关文章:

  • 2021-09-05
  • 2022-12-23
  • 2021-04-08
  • 2021-09-20
  • 2021-06-25
  • 2022-02-09
  • 2021-12-02
猜你喜欢
  • 2022-12-23
  • 2021-10-07
  • 2022-01-19
  • 2022-12-23
  • 2022-12-23
  • 2021-12-29
相关资源
相似解决方案