8

Mac 使用命令行解压 rar 文件

 9 months ago
source link: https://blog.kelu.org/tech/2023/11/26/mac-unrar.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Mac 使用命令行解压 rar 文件

2023-11-26     tech mac
mac.jpg
  1. 下载 rar 软件包:

    https://www.rarlab.com/download.htm

    image-20231128165738908

    我目前下载的是稳定版:

    RAR 6.24 for macOS ARM

  2. 双击打开下载好的 tar.gz 文件,会自动解压出一个rar文件夹。进入目录执行:

    sudo install -c -o $USER rar /usr/local/bin/
    sudo install -c -o $USER unrar /usr/local/bin
    

    安装 rar 和 unrar 命令到系统目录。

  3. unrar x a.rar
    unrar x a.rar ~/
    

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK