当前位置: 代码迷 >> 综合 >> mac下用 homebrew 安装 unrar 失败
  详细解决方案

mac下用 homebrew 安装 unrar 失败

热度:1   发布时间:2023-12-14 10:31:11.0

unrar这个包似乎被删除了,rarlib也打不开了

brew install unrar

会出现:

? brew install unrar
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
Error: No available formula or cask with the name "unrar".
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching taps on GitHub...
Error: No formulae found in taps.

怎么办呢?

经过搜索:

brew install carlocab/personal/unrar

成功~
看起来是有大佬备份了,重新上传了,感恩。

参考链接:https://github.com/Homebrew/discussions/discussions/285

顺便写一下 unrar 用法

  • 解压.rar文件到当前文件夹
unrar e 'file_name'
  • 解压.rar文件到指定路径
unrar x 'file_name' 'target_path'
  • 解压带密码的.rar文件到当前文件夹
    假设密码为123
unrar e -p'123' 'file_name'
  • 解压带密码的.rar文件到指定文件夹
unrar x -p'123' 'file_name' 'target_path'
  相关解决方案