New (old) unrar in Fedora 36 fails

I installed unrar for the first time since moving to F36, and it’s very different.

Instead of Alexander Roshal’s version 6, it’s unrar-free 0.1.1 – a 2004 version from Ben Asselstine and Jeroen Dekkers.

The -t (test) function passes my rar file, but unrar -x produces an unreadable file that ls thinks is 94164548805788 bytes long (about 86 petabytes), but still shows plenty of free space on the disk anyway.

So this is weird. Fortunately, I had a copy of Roshal’s version, which works on F36.

My search-fu was insufficient to find any explanation.

Has anyone else run into this?

Thanks!
Fred

1 Like

I have not,
I have unrar 6.1.7 installed from rpmfusion and it works well. Do not need anything not in the repo for fedora.

2 Likes

Full version of unrar is available at RPM Fusion. You can enable it with:

sudo dnf install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm

And then:

sudo dnf swap unrar-free unrar
3 Likes

For more context:

$dnf info unrar unrar-free

Available Packages
Name         : unrar
Version      : 6.1.7
Release      : 1.fc36
Architecture : x86_64
Size         : 150 k
Source       : unrar-6.1.7-1.fc36.src.rpm
Repository   : rpmfusion-nonfree-updates
Summary      : Utility for extracting, testing and viewing RAR archives
URL          : https://www.rarlab.com/rar_add.htm
License      : Freeware with further limitations
Description  : The unrar utility is a freeware program for extracting, testing and
             : viewing the contents of archives created with the RAR archiver version
             : 1.50 and above.

Name         : unrar-free
Version      : 0.1.1
Release      : 1.fc36
Architecture : x86_64
Size         : 29 k
Source       : unrar-free-0.1.1-1.fc36.src.rpm
Repository   : updates
Summary      : Free software version of the non-free unrar utility
URL          : https://gitlab.com/bgermann/unrar-free
License      : GPLv2+
Description  : unrar-free is a free software version of the non-free unrar utility. This
             : program is a simple command-line front-end to libarchive, and can list and
             : extract RAR archives but also other formats supported by libarchive. It does
             : not rival the non-free unrar in terms of features, but special care has been
             : taken to ensure it meets most user's needs.


3 Likes

Thanks. I had forgotten I had to disable that repo. D’oh!

2 Likes