Total Pageviews

Friday, 18 January 2019

mac上,如何解压缩7z格式的压缩文件

brew直接安装解压工具:
brew install p7zip
==> Downloading https://downloads.sourceforge.net/project/p7zip/p7zip/9.20.1/p7zip_9.20.1_src_all.tar.bz2
######################################################################## 100.0%
==> make all3 CC=clang $(ALLFLAGS) CXX=clang++ $(ALLFLAGS)
==> make DEST_HOME=/usr/local/Cellar/p7zip/9.20.1 DEST_MAN=/usr/local/Cellar/p7zip/9.20.1/share/man install
==> chmod -R +w /usr/local/Cellar/p7zip/9.20.1/share/doc/p7zip
最终得到的可执行文件为/usr/local/bin/7z
然后使用7z命令即可:
7z e filename.7z
-----------------
或:
官网下载安装文件,安装之后按照说明,进行解压。
https://sourceforge.net/projects/p7zip/files/

No comments:

Post a Comment