linux安装unzip及使用
生活随笔
收集整理的这篇文章主要介绍了
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/
标签: linux, unzip转载于:https://www.cnblogs.com/kedarui/p/3521450.html
总结
以上是生活随笔为你收集整理的linux安装unzip及使用的全部内容,希望文章能够帮你解决所遇到的问题。
- 上一篇: python学习-38迭代器和生成器
- 下一篇: linux笔记2.20