10-13-2020, 10:06 AM | #1 |
Wizard
Posts: 2,101
Karma: 8796704
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
|
How to make and run a Linux calibre portable USB Stick.
The first few posts in this thread will explain how to make and use calibre portable on Linux. Will start with a very basic setup then go to what is my recommended setup. Then show how to have both 32-bit and 64-bit on the same stick or hard drive folder, also have multiple versions of calibre on the same stick or hard drive folder.
Just a reminder 32 bit builds will not run on resent Linux systems releases. bernie |
10-13-2020, 10:07 AM | #2 |
Wizard
Posts: 2,101
Karma: 8796704
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
|
Basic Linux usb stick.
Basic setup.
Code:
/calibre-portable$ ./calibre-portable.sh Generating default configuration file at /media/Yourusername/calibre-portable/calibre-portable.conf Set any non-default options here. CONFIG FILES: /media/Yourusername/calibre-portable/CalibreConfig -------------------------------------------------- LIBRARY FILES: /media/Yourusername/calibre-portable/CalibreLibrary -------------------------------------------------- SOURCE FILES: *** Not being Used *** -------------------------------------------------- PROGRAM FILES: /media/Yourusername/calibre-portable/calibre -------------------------------------------------- TEMPORARY FILES: /tmp/CALIBRE_TEMP_twAnVAp -------------------------------------------------- Press CTRL-C if you do not want to continue Press ENTER to continue and start Calibre Starting up Calibre from portable directory "/media/Yourusername/calibre-portable" Using library at /media/Yourusername/calibre-portable/CalibreLibrary calibre will now open. bernie Last edited by gbm; 10-13-2020 at 10:31 AM. |
Advert | |
|
10-13-2020, 10:07 AM | #3 |
Wizard
Posts: 2,101
Karma: 8796704
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
|
My Recommended Setup
This will make a usb stick or calibre folder on a hard that is totally self-contained does not use space on the hard drive for tmp files.
Code:
./calibre-portable.sh Code:
Generating default configuration file at /media/Yourusername/calibre-portable/calibre-portable/calibre-portable.conf Set any non-default options here. CONFIG FILES: /media/Yourusername/calibre-portable/calibre-portable/CalibreConfig -------------------------------------------------- LIBRARY FILES: /media/Yourusername/calibre-portable/calibre-portable/CalibreLibrary -------------------------------------------------- SOURCE FILES: *** Not being Used *** -------------------------------------------------- PROGRAM FILES: /media/Yourusername/calibre-portable/calibre-portable/calibre -------------------------------------------------- TEMPORARY FILES: /tmp/CALIBRE_TEMP_fPtntSA -------------------------------------------------- Press CTRL-C if you do not want to continue Press ENTER to continue and start Calibre
Code:
# CALIBRE_TEMP_DIR="/tmp/CALIBRE_TEMP_$(tr -dc 'A-Za-z0-9'</dev/urandom |fold -w 7 | head -n1)"
Code:
CALIBRE_TEMP_DIR="$(pwd)/tmp/CALIBRE_TEMP_$(tr -dc 'A-Za-z0-9'</dev/urandom |fold -w 7 | head -n1)"
Calibre will now open Or you can use run in terminal. Code:
CONFIG FILES: /media/Yourusername/calibre-portable/calibre-portable/CalibreConfig -------------------------------------------------- LIBRARY FILES: /media/Yourusername/calibre-portable/calibre-portable/CalibreLibrary -------------------------------------------------- SOURCE FILES: *** Not being Used *** -------------------------------------------------- PROGRAM FILES: /media/Yourusername/calibre-portable/calibre-portable/calibre -------------------------------------------------- TEMPORARY FILES: /media/Yourusername/calibre-portable/calibre-portable/tmp/CALIBRE_TEMP_vLpwXYB -------------------------------------------------- Press CTRL-C if you do not want to continue Press ENTER to continue and start Calibre Starting up Calibre from portable directory "/media/Yourusername/calibre-portable/calibre-portable" Using library at /media/Yourusername/calibre-portable/calibre-portable/CalibreLibrary Last edited by gbm; 10-13-2020 at 11:41 AM. |
10-13-2020, 10:08 AM | #4 |
Wizard
Posts: 2,101
Karma: 8796704
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
|
Reserved for future use 3.
bernie |
10-13-2020, 10:08 AM | #5 |
Wizard
Posts: 2,101
Karma: 8796704
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
|
Reserved for future use 4.
bernie |
Advert | |
|
11-28-2020, 11:06 AM | #6 | |
Connoisseur
Posts: 70
Karma: 187210
Join Date: Sep 2010
Location: UK
Device: Sony PRS T1, Kindle 4 NT, Kobo Touch, Kobo Clara HD
|
Quote:
Martin |
|
01-28-2022, 09:29 AM | #7 |
Enthusiast
Posts: 26
Karma: 84276
Join Date: Aug 2011
Location: Tuscaloosa, AL
Device: Samsung Tablet
|
That works perfectly. Thanks!
My question though (before I go and shell out the $ for it): Can you use the same setup on Dropbox? Meaning making the Dropbox a portable Linux Calibre drive so the program (and all of the plugins) can be accessed everywhere. (The reason I'm asking is that I lost my main computer's Calibre instance and worry that my USB drive might mess up as well. By having it out in the cloud like that, it wouldn't be lost nearly as easily.) (EDIT: I just realized that the Dropbox drive probably isn't formatted as an EXT4 drive. That means it may not work right...) Last edited by DirCat; 01-28-2022 at 09:43 AM. Reason: Added the ext4 line. |
01-28-2022, 10:07 AM | #8 |
Well trained by Cats
Posts: 30,138
Karma: 57532198
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
IMHO the important thing is Backups. (You do backup your Library folder?)
A fresh Calibre install is easy to do. It is the rest.... Backup the (entire) Configuration folder any time you install a New plugin (name) to capture the configuration (your preferences). Even if the PI gets updated Later, you are good as Calibre will simply notify you and your settings are not lost (notify is only for PI in the MR Index, not those other tools) |
01-28-2022, 11:33 AM | #9 | |
Bibliophagist
Posts: 38,050
Karma: 152037714
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
|
|
02-04-2022, 10:01 AM | #10 | |
Enthusiast
Posts: 26
Karma: 84276
Join Date: Aug 2011
Location: Tuscaloosa, AL
Device: Samsung Tablet
|
Quote:
|
|
02-04-2022, 10:02 AM | #11 | |
Enthusiast
Posts: 26
Karma: 84276
Join Date: Aug 2011
Location: Tuscaloosa, AL
Device: Samsung Tablet
|
Quote:
|
|
02-08-2022, 02:46 PM | #12 |
Addict
Posts: 291
Karma: 2228060
Join Date: Dec 2013
Location: LaVernia, Texas
Device: kindle epub readers on android
|
Can a Linux calibre portable usb stick work in a chromebook if the chromebook has Linux enabled?
|
02-08-2022, 10:03 PM | #13 |
creator of calibre
Posts: 44,165
Karma: 22670164
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
If normally installed calibre can run on the said chromebook, the portable one will run as well.
|
10-08-2022, 07:16 AM | #14 |
Zealot
Posts: 112
Karma: 861762
Join Date: Dec 2010
Location: London
Device: Kindle 3
|
Is there a terminal command to install calibre on a 32bit Acer chromebook please,I have tried everything?
Thank you. |
10-08-2022, 08:21 AM | #15 |
the rook, bossing Never.
Posts: 12,026
Karma: 88064427
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
Version 5.44 is the last 32bit version due to QT.
|
Tags |
calibre portable, linux |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Making Calibre Portable USB drives on LInux | Scichick | Calibre | 4 | 12-05-2015 10:11 PM |
[Old Thread] Simple portable epub reader (on a USB stick) | gertblij | Calibre | 6 | 02-09-2014 09:30 PM |
Install Calibre portable on USB stick | Gary Young | Calibre | 1 | 12-14-2010 01:07 PM |
calibre does no longer run on USB-stick | Patsy | Calibre | 2 | 06-17-2010 04:05 AM |
Portable Firefox (Run it off a USB Drive) | Colin Dunstan | Lounge | 3 | 11-22-2004 07:42 PM |