• 主页

  • 投资

  • IT

    🔥
  • 设计

  • 销售

关闭

返回栏目

关闭

返回服务器栏目

95 - 7z - 安装

作者:

贺及楼

成为作者

更新日期:2022-07-06 13:20:15

作用:压缩应用

安装

  1. sudo apt-get install p7zip

离线安装

  1. http://sourceforge.net/projects/p7zip/files/

1、找p7zip
2、找版本号
3、一个是bin包、一个是源码包
4、找源码包p7zip_16.02_src_all.tar.bz2

  1. # 解压
  2. sudo tar xjvf p7zip_16.02_src_all.tar.bz2
  3. # 定位
  4. cd p7zip_16.02
  5. # sh
  6. sudo sh install.sh

看见

  1. - installing /usr/local/man/man1/7z.1
  2. - installing /usr/local/man/man1/7za.1
  3. - installing /usr/local/man/man1/7zr.1
  4. - installing /usr/local/share/doc/p7zip/README
  5. - installing /usr/local/share/doc/p7zip/ChangeLog
  6. - installing HTML help in /usr/local/share/doc/p7zip/DOC
  1. yum install gcc
  2. yum install gcc-c++
  3. make
  4. make install

看见

  1. ./install.sh /usr/local/bin /usr/local/lib/p7zip /usr/local/man /usr/local/share/doc/p7zip
  2. - installing /usr/local/bin/7za
  3. - installing /usr/local/man/man1/7z.1
  4. - installing /usr/local/man/man1/7za.1
  5. - installing /usr/local/man/man1/7zr.1
  6. - installing /usr/local/share/doc/p7zip/README
  7. - installing /usr/local/share/doc/p7zip/ChangeLog
  8. - installing HTML help in /usr/local/share/doc/p7zip/DOC
  1. 7za x xxx.7z
  2. x 解压的意思
  1. 7za i
  2. 可以看到可以解压:7zbzip2Cabgziplzmalzma86PpmdSplittarxzZzip