Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 10-08-2020, 04:43 PM   #1
dunhill
Guru
dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.
 
dunhill's Avatar
 
Posts: 892
Karma: 810834
Join Date: Sep 2017
Location: Buenos Aires, Argentina
Device: moon+ reader, kindle paperwhite
They explain to me how to have calibre in ubs for linux

I have installed Caliber on a usb stick with this command:
sudo -v && wget -nv -O- https://download.calibre-ebook.com/linux-installer.sh | sudo sh/dev/stdin install_dir =/media/walter/CALIBRE
Where media / walter / CALIBER is the folder that is created for the installation.
Having Calibre physically installed on the machine works, but if I pass the usb to another machine, it won't.
Would I need to put the .calibre and .config folders? If so, could you tell me if it goes on the usb or on the other pc.
I was looking in the forum but could not find or could not understand the concept.
Please apologize if it is a recurring theme
dunhill is offline   Reply With Quote
Old 10-08-2020, 04:58 PM   #2
gbm
Wizard
gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.
 
Posts: 2,182
Karma: 8888888
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
Quote:
Originally Posted by dunhill View Post
I have installed Caliber on a usb stick with this command:
sudo -v && wget -nv -O- https://download.calibre-ebook.com/linux-installer.sh | sudo sh/dev/stdin install_dir =/media/walter/CALIBRE
Where media / walter / CALIBER is the folder that is created for the installation.
Having Calibre physically installed on the machine works, but if I pass the usb to another machine, it won't.
Would I need to put the .calibre and .config folders? If so, could you tell me if it goes on the usb or on the other pc.
I was looking in the forum but could not find or could not understand the concept.
Please apologize if it is a recurring theme
Look for the script calibre-portable.sh it is in /opt/calibre/resources.

Quote:
Calibre-Portable.sh
# ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬
#
# Shell script File to start a Calibre configuration on Linux
# giving explicit control of the location of:
# - Calibre Program Files
# - Calibre Library Files
# - Calibre Config Files
# - Calibre Metadata database
# - Calibre Source files
# - Calibre Temp Files
# By setting the paths correctly it can be used to run:
# - A "portable calibre" off a USB stick.
# - A network installation with local metadata database
# (for performance) and books stored on a network share
# - A local installation using customised settings....
I have played with this for a while but you should open it in a text editor and follow the directions.

I say back up all of your config and library files then run the script.

bernie

Last edited by gbm; 10-08-2020 at 05:04 PM.
gbm is offline   Reply With Quote
Advert
Old 10-08-2020, 05:07 PM   #3
dunhill
Guru
dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.
 
dunhill's Avatar
 
Posts: 892
Karma: 810834
Join Date: Sep 2017
Location: Buenos Aires, Argentina
Device: moon+ reader, kindle paperwhite
Quote:
Originally Posted by gbm View Post
Look for the script calibre-portable.sh it is in /opt/calibre/resources.



I have played with this for a while but you should open it in a text editor and follow the directions.

I say back up all of your config and library files then run the script.

bernie
Then the installation on the usb that I did with the command does not go and I must try with the calibre script that I have installed locally
dunhill is offline   Reply With Quote
Old 10-10-2020, 09:05 PM   #4
gbm
Wizard
gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.
 
Posts: 2,182
Karma: 8888888
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
Quote:
Originally Posted by dunhill View Post
Then the installation on the usb that I did with the command does not go and I must try with the calibre script that I have installed locally
I did not get a chance to try this until today.
  • On a usb stick make a folder named "calibre"*
  • On a usb stick make a folder named "CalibreConfig"
  • On a usb stick make a folder named "CalibreLibrary"
  • On a usb stick make a folder named "tmp"
  • Download the tarball version of calibre you want from here
  • Extract the tarball to the folder "calibre"
  • Copy the calibre-portable.sh file from the usb folder /calibre/resources to the top level of the usb.
    Click image for larger version

Name:	Screenshot from 2020-10-10 20-51-56.png
Views:	125
Size:	14.1 KB
ID:	182609
  • Open a terminal and cd to the usb stick
  • enter ./calibre-portable.sh into the terminal press enter
  • press enter to start calibre.

    Code:
    :~$ cd /media/xxxxxxx/gbm
    :/media/xxxxxxx/gbm$ ./calibre-portable.sh
    Generating default configuration file at /media/xxxxxxx/gbm/calibre-portable.conf
    Set any non-default options here.
    CONFIG FILES:       /media/xxxxxxx/gbm/CalibreConfig
    --------------------------------------------------
    LIBRARY FILES:      /media/xxxxxxx/gbm/CalibreLibrary
    --------------------------------------------------
    SOURCE FILES:       *** Not being Used ***
    --------------------------------------------------
    PROGRAM FILES:      /media/xxxxxxx/gbm/calibre
    --------------------------------------------------
    TEMPORARY FILES:    /tmp/CALIBRE_TEMP_fEfBrFz
    --------------------------------------------------
    
    Press CTRL-C if you do not want to continue
    Press ENTER to continue and start Calibre
    
    Starting up Calibre from portable directory "/media/xxxxxxx/gbm"
    Using library at /media/xxxxxxx/gbm/CalibreLibrary
Click image for larger version

Name:	Screenshot from 2020-10-10 20-59-22.png
Views:	131
Size:	110.6 KB
ID:	182611
You will now have a portable calibre on a usb stick for linux--I formatted my stick as ext4.
bernie
gbm is offline   Reply With Quote
Old 10-11-2020, 09:59 PM   #5
dunhill
Guru
dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.
 
dunhill's Avatar
 
Posts: 892
Karma: 810834
Join Date: Sep 2017
Location: Buenos Aires, Argentina
Device: moon+ reader, kindle paperwhite
Quote:
Originally Posted by gbm View Post
I did not get a chance to try this until today.
  • On a usb stick make a folder named "calibre"*
  • On a usb stick make a folder named "CalibreConfig"
  • On a usb stick make a folder named "CalibreLibrary"
  • On a usb stick make a folder named "tmp"
  • Download the tarball version of calibre you want from here
  • Extract the tarball to the folder "calibre"
  • Copy the calibre-portable.sh file from the usb folder /calibre/resources to the top level of the usb.
    Attachment 182609
  • Open a terminal and cd to the usb stick
  • enter ./calibre-portable.sh into the terminal press enter
  • press enter to start calibre.

    Code:
    :~$ cd /media/xxxxxxx/gbm
    :/media/xxxxxxx/gbm$ ./calibre-portable.sh
    Generating default configuration file at /media/xxxxxxx/gbm/calibre-portable.conf
    Set any non-default options here.
    CONFIG FILES:       /media/xxxxxxx/gbm/CalibreConfig
    --------------------------------------------------
    LIBRARY FILES:      /media/xxxxxxx/gbm/CalibreLibrary
    --------------------------------------------------
    SOURCE FILES:       *** Not being Used ***
    --------------------------------------------------
    PROGRAM FILES:      /media/xxxxxxx/gbm/calibre
    --------------------------------------------------
    TEMPORARY FILES:    /tmp/CALIBRE_TEMP_fEfBrFz
    --------------------------------------------------
    
    Press CTRL-C if you do not want to continue
    Press ENTER to continue and start Calibre
    
    Starting up Calibre from portable directory "/media/xxxxxxx/gbm"
    Using library at /media/xxxxxxx/gbm/CalibreLibrary
Attachment 182611
You will now have a portable calibre on a usb stick for linux--I formatted my stick as ext4.
bernie
Yes now !!! thanks for the detailed explanation I was missing several details
dunhill is offline   Reply With Quote
Advert
Old 10-12-2020, 07:33 PM   #6
NanM
Junior Member
NanM began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Oct 2020
Device: Sony metal midget PRS-350, PRS-T2
@gbm
I joined the forum expressly to up your reputation for this wonderfully clear set of instructions!
That I've lurked since Calibre 3.29 is your measure of my esteem.
thanks!
NanM is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how 2 move SOME (not all) books from windows/Calibre to linux/calibre fredex Library Management 3 10-23-2017 09:52 PM
[Linux] Calibre on Linux isn't detecting any of my Android devices Amogh Harish Devices 9 10-31-2012 05:45 AM
Can the Kobo function as a UBS mass storage device? stodge Kobo Reader 2 11-01-2010 12:18 PM
calibre 0.6.10 for Linux AprilHare Calibre 3 09-03-2009 07:03 PM


All times are GMT -4. The time now is 08:20 PM.


MobileRead.com is a privately owned, operated and funded community.