Thread: Kindle & RAR
View Single Post
Old 06-09-2012, 10:15 AM   #8
silver18
THE NOOB
silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.
 
silver18's Avatar
 
Posts: 701
Karma: 1545649
Join Date: Jan 2012
Location: Italy
Device: Kindle Touch 5.3.2
Quote:
Originally Posted by eureka View Post
rar isn't available for armel Linux. It's proprietary archiver with closed source and developer didn't compiled it for discussed [KT] platform.

However, unrar utility is provided with sources, so it could be found in compiled form for armel Linux. As knc1 said, you can extract it from appropriate Debian package.

Debian archive could be searched for needed package at http://http://www.debian.org/distrib/packages. Or by shortcut: http://packages.debian.org/<package name>.

So, go to http://packages.debian.org/unrar. As you will see, there is unrar package and it's available for armel architecture. Look for most recent version, then press on nearby link, which is looking like: sid (unstable) and you'll land on package page. At the end of page, there is list of links to this package compiled for various architectures. Click on armel link, and you'll land on page with direct links to package on archive mirrors. Click on any of them and you'll download the package.

.deb package is an ar archive containing compressed tar archives (more info). So if you're ok with using of ar and tar utilities, you can unpack downloaded .deb, then unpack data.tar.gz, and you'll find unrar-nonfree binary at the path usr/bin. Otherwise, try to look for online services which could unpack ar/tar (or, maybe, deb).
Ok, I unpacked deb file and now I have usr/bin/unrar-nonfree. Should I place it (only unrar-nonfree) in Kindle /usr/bin?

Why you said to use "sid (unstable)" and not "squeeze (stable)" version?

Thanks a lot!!

Quote:
Originally Posted by knc1 View Post
Not a problem, other people here do and you don't have to get very deep into Linux to do what you state above...

So after following my post above...

You want to extract an rar named *.CBR and create an *.CBZ from the contents. Should be a piece of cake.

What about the password(s)?
If the *.CBR (a.k.a: *.rar) is password protected, do you want the same password protection on the *.CBZ (a.k.a: *.zip)?

Please correct me if I misunderstood something about those file format relationships.

Another (advanced) thought to keep in mind...
There is a filesystem driver for Linux that lets it open a *.zip as a filesystem.
I.E: You don't have to extract a file from the *.zip to read it, the *.zip just looks like a directory (folder).
Not sure if the Kindle has that filesystem driver installed or even included, but it is a thought to keep in mind.
I didn't managed to explain myself!!
I need to unpack CBZ and CBR files in order to read what's in them (images) with ImageGallery.
I managed to do this with CBZ as Kindle already has unzip command.
I'm trying now to do the same with CBR, that's why I need unrar!

If what I've done so far (download the package and place it in /usr/bin) provides me a feasible way of unpacking rars, then I have all I need!!

Last thing is: how can I make users have unrar in their Kindles?
Should I copy it during the installation of ImageGallery?
Is it safe?
What about future firmware updates?
silver18 is offline   Reply With Quote