Linux 使用 tar 选项提取 rar 文件的内容
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/7738125/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Using tar option to extract the contents of a rar file
提问by
I have uploaded a rar file under linux server .
When i used unrar -e filename.rar
or rar -e filename.rar
, i got this error Command not found rar.
As i am not a root user , i dont have permissions to install unrar Into linux machiene .
我已经在 linux 服务器下上传了一个 rar 文件。当我使用unrar -e filename.rar
or 时rar -e filename.rar
,我收到此错误命令未找到 rar。由于我不是 root 用户,我没有权限将 unrar 安装到 linux 机器中。
So please tell me is it possible to use tar option to extract the contents of a rar file ??
所以请告诉我是否可以使用 tar 选项来提取 rar 文件的内容?
When i used unrar under Linux machiene i got this
当我在 Linux 机器下使用 unrar 时,我得到了这个
-bash-3.00$ unrar
-bash: unrar: command not found
-bash-3.00$
Thank you
谢谢
采纳答案by ikromm
You must install the unrar or unrar-free packets from a repository.
您必须从存储库安装 unrar 或 unrar-free 数据包。