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
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.
Im an idiot(leg) /s
Hahahaha
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.
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.
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!
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.
Have you tried building it?
RAR isn't open source.
unar is the free version and should be in Ubuntu
I’ve got unrar installed already, but what I want to be able to do is add/update files in the rar archives, which unrar can’t do.
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.