Install 7z in CentOS
Reference: http://lxs647.iteye.com/blog/784780
Because you need to decompress a 7zip package under the command line. Therefore, this issue is involved.
Asked about Google. In Linux, The 7Zip solution is p7zip, so the corresponding download method is used.
1. omnipotent Yum
1
[root@
hostname
~]
# yum install p7zip
2. Download and compile the source code
: Http://p7zip.sourceforge.net/
Of course, the 7zip source code package of Oolong will not appear here. The current package is tar.bz2.
1. Extract
2. Installation
01
[root@
hostname
~]
# wget http://sourceforge.net/projects/p7zip/files/p7zip/9.13/p7zip_9.13_src_all.tar.bz2/download
02
[root@
hostname
~]
# tar jxvf p7zip_9.13_src_all.tar.bz2
03
[root@
hostname
~]
# cd p7zip_9.13
04
[root@
hostname
~]
# make
05
[root@
hostname
~]
# make install
If No such file or directory is prompted during the make install command, use the sudo make install command.
3. Use and decompress the 7Zip package.
1
[root@
hostname
~]
# 7za x seal-script-darkness.7z