SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have this 19th century book for reference in the form of an ebook. People are suggesting are suggesting crazy utilities slackware doesn't have. What's the lazy was of un-ebooking the thing?
I have this 19th century book for reference in the form of an ebook.
Where?
What format is it in? EPUB? Then it's just a zip archive, full of XHTML, CSS, images and some metadata. Sigil is the main tool to work with EPUBs, and it's available in Slackware (Alien Bob, Slackonly).
Otherwise, you can probably convert it to EPUB with Calibre.
Calibre is awesome. On my phone I use FBReader, but it's qt4, which won't work with current. But if you want to read an ebook on desktop/laptop, definitely check out Calibre. There's a dugan slackbuild out there. Alien Bob has a package, too. I think ruario had one, as well?
Thx for the speedy reply. I grabbed that from slackware.nl.
Code:
bash-5.1$ ldd /usr/bin/sigil |grep found
libQtSvg.so.4 => not found
libQtWebKit.so.4 => not found
libQtXmlPatterns.so.4 => not found
libQtGui.so.4 => not found
libQtXml.so.4 => not found
libQtNetwork.so.4 => not found
libQtCore.so.4 => not found
It's wearisome. Apparently they're all part of Qt-4.8.7? Slackware is doing Qt5 now, isn't it?
What format is it in? EPUB? Then it's just a zip archive, full of XHTML, CSS, images and some metadata. Sigil is the main tool to work with EPUBs, and it's available in Slackware (Alien Bob, Slackonly).
Otherwise, you can probably convert it to EPUB with Calibre.
Calibre's ebook-editor is probably better maintained than Sigil these days, but both are great tools.
Distribution: Slackware 64 -current multilib from AlienBob's LiveSlak MATE
Posts: 1,072
Rep:
Calibre handles most ebook formats (AZW3, EPUB, MOBI, FB2 and a few others) and you can convert to pdf or docx or txt if you find those file formats more convenient.
Personally, I find that the lazy way of handling ebooks is to read them as ebooks. For the EPUB format, EPubreader is a smooth plugin available for Firefox and chrome-based browsers
BTW, latest stable sigil version (1.4.3) builds fine with qt5 and the SBo buildscript. Just version-bump, and (due to changes in the source tree) edit line 97 in the buildscript to:
Calibre I had once. It kept trying to take over my world and giving me a hard time because I just wanted to read one epub.
Pandoc I never heard of
Okular I had once for pdfs but I felt it sucked. Perhaps that's because kde doesn't live here.
Alien's Sigil wants QT4. So I grabbed the git, added a DESTDIR variable and installed it. But my Sigil throws errors aplenty.
So I'll bite the bullet, install one of calibre or okular tomorrow and convert this. It's a boring tome by a guy I fundamentally disagree with but his research sources are comparable with mine, and therefore worth a look We're on the same page on his main point.
BTW it isn't really hard to install old apps that haven't yet or wont ever be updated to QT5 by isolating them and their required dependency libraries in /opt. The main reason I keep around older systems is to be able to copy from them. There is a 32 bit KDE v3 app I use regularly that I use on Current updated as of yesterday. I'm thankful slackpkg+ clean system doesn't mess with /opt if it isn't in /var/log/packages.
Let me bring this vaguely back on topic. Ebook--> Something Useful.
This is a newish day here. I installed okular, ran 'ldd |grep found' on it, and was met by an impressive list on 'don't have' items. I deemed it unlikely that kdelibs would have them all. As okular doesn't have conversion capabilities for epub, I decided to fight with calibre instead.
Calibre from Alien Bob was compiled against icu4c-65, whereas I had 68.2. I thought it was worth a shot symlinking my way out of that, but that failed. I happened to have icu4c-65.1 installed in last September's current, and copied some libraries into /usr/lib64 as required, but that bombed when one of the python scripts cried foul referencing, I gather libicuuc.so. My earliest iso was last September's which had icu4c-67.1 , so my cheating options were limited.
In the end, I opted for kaott's recommendation of mupdf which opened it, and allowed me to see it wasn't the boring 19th century tome I thought it was. So after all that fighting and farting about, my ebook is junk, and a problem to be solved with 'rm'.
So it's not really "Ebook--> Something Useful," it's "Ebook = junk." Thanks to all who contributed their thoughts.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.