Can 7zip unrar? That's my go-to form anything compression.
Yes, it can
Only with the unfree unrar plugin.
Unrar isn’t the problem though. I’ve already installled unrar to read the file in the rar I need to modify.
What I was looking for is rar so that I can modify the text in the file and update the rar archive.
There is unrar which is source-available but its license is unfree because it restricts usage. See: https://fedoraproject.org/wiki/Licensing:Unrar
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.
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.
You could install qemu-user and register it in binfmt in the vm, that lets you run programs for other architectures.
This sounds interesting. I’m gonna look into it. Thank you!
Im an idiot(leg) /s
Hahahaha
Have you tried building it?
RAR isn't open source.
the answer for "what can unpack this archive" is pretty much always: bsdtar from libarchive
edit: sorry, I can't read. libarchive unfortunately can't write RAR archives.
As a last resort you could install docker from apt, build an image from a distro has rar in its arm repos, then run containers ephemerallly, mounting your work dir into the container where rar runs. Try the suggested methods of getting a binary first. 😅
docker run --rm -v /your/work/dir:/destination/in/container your_image rar ...
Haha. Definitely last resort. Having learned what a pain rar is due to its propriety nature, I’m going to see if they care if I convert them to tar or zip first.
Yup, moving away from rar would probably be best.
Linux
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0