EDIT: Putting this at the top because not everyone is seeing what I actually need. I can unpack the rar archive just fine. What I can’t do (on arm) is add to/update the files in the rar archive. I have unrar already installed. What I can’t install is the rar package to create/update rar archives.

So I’ve been banging my head against the wall for about half an hour trying to install the rar package from the multiverse repository on an Ubuntu 23.10 vm I have running on my m1 mac mini. I finally ended up on https://pkgs.org and searched up rar to see if I could download it directly instead of using apt.

And it was there I realized there’s no arm version of rar.

Side note, any recommendations for an arm utility that handles rar files? I already have unrar-free installed, but what I need is something to update/add files to existing rar files.

Worst case scenario I unrar them and then repackage them with tar or zip, but if I can just work with the rar archive, I’d prefer that.

Edit: I got excited for a second remembering that I’ve got rar installed via homebrew on that same m1 mac, but when I tried to install homebrew in the vm, I learned that homebrew doesn’t officially support arm.

  • harsh3466@lemmy.worldOP
    link
    fedilink
    English
    arrow-up
    3
    ·
    11 months ago

    I do have unrar installed, but I’m not able to modify in place or add new files to the archive with it, which is the functionality I’m missing.

    • Atemu@lemmy.ml
      link
      fedilink
      arrow-up
      4
      ·
      11 months ago

      Indeed it won’t modify rar archives. What do you need those for?

      The typical flow for rar archives is to unpack them and then either leave the files on disk as plain files or put them into a better archive format such as 7z.

      • harsh3466@lemmy.worldOP
        link
        fedilink
        English
        arrow-up
        3
        ·
        11 months ago

        My initial goal (before learning what a headache rar is) was to preserve the original file format. Now my plan is to convert them. I have to confer with my friend to see what format they’d prefer for the files. Probably end up using regular old zip.