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'