Linux 压缩 7zip

Linux下压缩现在常用的命令有zip/unzip, tar

但也有一些限制,如:

1、2G文件大小限制 

2、中文乱码问题

还好7zip能很好地解决这个问题。


一、安装

Ubuntu 12:

sudo apt-get install p7zip

CentOS 6:

http://dag.wieers.com/rpm/packages/p7zip/

找到合适平台的rpm wget下来

rpm -ivh x.rpm


二、使用也很简单

p7zip --help
Usage: /usr/bin/p7zip [-d] [-h|--help] [file]


    -h print this help
    -d decompress file 解压


你可能感兴趣的:(Linux 压缩 7zip)