linux安装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

 

好了,可以用了!

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

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

ll install.sh  查看权限

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

 

unzip test.zip -d /root/ 

 
 
 
标签: linuxunzip
posted @ 2014-01-15 20:22  kedarui  阅读(18567)  评论(0编辑  收藏  举报