如何在 Fedora 23 中打开 .rar 文件

Bla*_*wan 15 linux fedora rar

我正在使用 Fedora 23 64 位。我已经下载了一些.rar文件。

谷歌搜索后,我找到了建议使用unrar它们可以打开的解决方案。

但我无法安装unrar. 我在谷歌搜索安装后尝试了以下步骤但失败了。

解决方案1:

免费发布:

su -c 'yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm'
Run Code Online (Sandbox Code Playgroud)

对于非自由发布:

su -c 'yum localinstall --nogpgcheck http://download1.rpmfusion.org/nonfree`/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm'`
Run Code Online (Sandbox Code Playgroud)

安装unrar

在终端中运行以下命令并在出现提示时键入用户的密码。

sudo yum install unrar
Run Code Online (Sandbox Code Playgroud)

解决方案2:

# wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
# rpm -Uvh rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm

yum install unrar
Run Code Online (Sandbox Code Playgroud)

但没有任何效果。我的系统是最新的。

如何.rar在 Fedora 中打开文件?

小智 20

安装unar软件包。

$ dnf info unar
...
Name        : unar
Arch        : x86_64
Epoch       : 0
Version     : 1.10.1
Release     : 1.fc24
Size        : 4.6 M
Repo        : @System
From repo   : updates
Summary     : Multi-format extractor
URL         : http://unarchiver.c3.cx/commandline
License     : LGPLv2+
Description : The command-line utilities lsar and unar are capable of listing
            : and extracting files respectively in several formats including
            : RARv3. unar can serve as a free and open source replacement of
            : unrar.
$ sudo dnf install unar
Run Code Online (Sandbox Code Playgroud)

存档管理器(gui 应用程序)将能够打开.rar文件。