unrar这个包似乎被删除了,rarlib也打不开了
mac下用 homebrew 安装 unrar 失败
brew install unrar
1
会出现:
❯ 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.
1
2
3
4
5
6
7
8
怎么办呢?
经过搜索:
brew install carlocab/personal/unrar
1
成功~
看起来是有大佬备份了,重新上传了,感恩。
参考链接:https://github.com/Homebrew/discussions/discussions/285
顺便写一下 unrar 用法
解压.rar文件到当前文件夹
unrar e 'file_name'
1
解压.rar文件到指定路径
unrar x 'file_name' 'target_path'
1
解压带密码的.rar文件到当前文件夹
假设密码为123
unrar e -p'123' 'file_name'
1
解压带密码的.rar文件到指定文件夹
unrar x -p'123' 'file_name' 'target_path'
1