Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 02-11-2015, 12:47 PM   #1
fidvo
Addict
fidvo ought to be getting tired of karma fortunes by now.fidvo ought to be getting tired of karma fortunes by now.fidvo ought to be getting tired of karma fortunes by now.fidvo ought to be getting tired of karma fortunes by now.fidvo ought to be getting tired of karma fortunes by now.fidvo ought to be getting tired of karma fortunes by now.fidvo ought to be getting tired of karma fortunes by now.fidvo ought to be getting tired of karma fortunes by now.fidvo ought to be getting tired of karma fortunes by now.fidvo ought to be getting tired of karma fortunes by now.fidvo ought to be getting tired of karma fortunes by now.
 
Posts: 296
Karma: 1599870
Join Date: Jun 2012
Device: none
Calibre on Linux and Windows

I run Calibre Portable on an external hard drive, and I recently installed Linux Mint on one of my computers. I would like to run Calibre on the same databases in both Windows and Linux.

I've identified potential issues that might arise, and I wanted to get input on how to solve them. So here are several questions I need answers to in order to get this to work.

1. Linux vs. Windows

I've heard there might be issues with case sensitivity of folder names and folder name length. Is there a way to identify whether this will be a problem for my existing libraries?

If I have to take the time to re-create my libraries from scratch in order to get around these incompatibilities, I'm willing to do it, but I'd prefer to avoid that if possible.

Also, going forward are there any steps I should take to make sure these issues don't arise?

2. Calibre 1.48 vs. 2.x

My laptop runs Windows XP. Since I often run Calibre on my laptop, I use Calibre Portable 1.48. Is it still correct to assume Calibre 2.x is not compatible with Windows XP?

If so, should I also assume it's best not to mix two different versions of Calibre if I'm running them on the same library? i.e. there will likely be problems if I run Calibre 2.x for Linux on a library that I will later want to access with Calibre 1.48 for Windows.

I've downloaded the 1.48 tarballs and read the instructions for installing old versions under Linux, so I'm fine if that's the case.

3. Installed vs. Portable

I've always used Calibre Portable on my external hard drive, so I've never actually installed the non-portable version of Calibre before. Can I assume it's safe to run an installed version of Calibre on a library created under Calibre Portable?

Note that my external hard drive is not a NAS, and I don't intend to run multiple instances of Calibre at the same time. I just want to run it under Linux sometimes and under Windows other times.

4. Plugins

I have several questions about plugins.

4a. Since plugins are written in Python, can I assume they're cross-platform? i.e. I can get the same plugins for my Linux version of Calibre as for my Windows version.

4b. Since my version of Calibre is "frozen" at 1.48, are there likely to be issues with newer versions of plugins on older versions of Calibre? I stopped updating my plugins the same time as I stopped updating Calibre because I didn't want to risk downloading and installing a plugin that would no longer work.

4c. (A combination of 4a and 4b) If it's better to stick with older versions of plugins, how do I get them into my Linux version of Calibre? Is there a place to download old versions? If not, can I transfer the plugins from my Windows version to my Linux version? I've read the "installing plugins manually" instructions, and I see a bunch of zip files in my "Calibre Settings\plugins" folder. Can I use these zip files to install the plugins manually under Linux?

5. Are there any other issues I should be aware of?

Thanks in advance for any help you can give me.
fidvo is offline   Reply With Quote
Old 02-11-2015, 01:03 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,082
Karma: 8796704
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
Quote:
Originally Posted by fidvo View Post
I run Calibre Portable on an external hard drive, and I recently installed Linux Mint on one of my computers. I would like to run Calibre on the same databases in both Windows and Linux.

I've identified potential issues that might arise, and I wanted to get input on how to solve them. So here are several questions I need answers to in order to get this to work.

1. Linux vs. Windows

I've heard there might be issues with case sensitivity of folder names and folder name length. Is there a way to identify whether this will be a problem for my existing libraries?

If I have to take the time to re-create my libraries from scratch in order to get around these incompatibilities, I'm willing to do it, but I'd prefer to avoid that if possible.

Also, going forward are there any steps I should take to make sure these issues don't arise?

2. Calibre 1.48 vs. 2.x

My laptop runs Windows XP. Since I often run Calibre on my laptop, I use Calibre Portable 1.48. Is it still correct to assume Calibre 2.x is not compatible with Windows XP?

If so, should I also assume it's best not to mix two different versions of Calibre if I'm running them on the same library? i.e. there will likely be problems if I run Calibre 2.x for Linux on a library that I will later want to access with Calibre 1.48 for Windows.

I've downloaded the 1.48 tarballs and read the instructions for installing old versions under Linux, so I'm fine if that's the case.

3. Installed vs. Portable

I've always used Calibre Portable on my external hard drive, so I've never actually installed the non-portable version of Calibre before. Can I assume it's safe to run an installed version of Calibre on a library created under Calibre Portable?

Note that my external hard drive is not a NAS, and I don't intend to run multiple instances of Calibre at the same time. I just want to run it under Linux sometimes and under Windows other times.

4. Plugins

I have several questions about plugins.

4a. Since plugins are written in Python, can I assume they're cross-platform? i.e. I can get the same plugins for my Linux version of Calibre as for my Windows version.

4b. Since my version of Calibre is "frozen" at 1.48, are there likely to be issues with newer versions of plugins on older versions of Calibre? I stopped updating my plugins the same time as I stopped updating Calibre because I didn't want to risk downloading and installing a plugin that would no longer work.

4c. (A combination of 4a and 4b) If it's better to stick with older versions of plugins, how do I get them into my Linux version of Calibre? Is there a place to download old versions? If not, can I transfer the plugins from my Windows version to my Linux version? I've read the "installing plugins manually" instructions, and I see a bunch of zip files in my "Calibre Settings\plugins" folder. Can I use these zip files to install the plugins manually under Linux?

5. Are there any other issues I should be aware of?

Thanks in advance for any help you can give me.
Calibre Portable 1.48 and 2.19 will run under wine in Lunix, and run the lateness verison if your cpu will support sse 2.

bernie
gbm is offline   Reply With Quote
Advert
Old 02-11-2015, 02:48 PM   #3
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Quote:
Originally Posted by fidvo View Post
I run Calibre Portable on an external hard drive, and I recently installed Linux Mint on one of my computers. I would like to run Calibre on the same databases in both Windows and Linux.

I've identified potential issues that might arise, and I wanted to get input on how to solve them. So here are several questions I need answers to in order to get this to work.

1. Linux vs. Windows

I've heard there might be issues with case sensitivity of folder names and folder name length. Is there a way to identify whether this will be a problem for my existing libraries?

If I have to take the time to re-create my libraries from scratch in order to get around these incompatibilities, I'm willing to do it, but I'd prefer to avoid that if possible.

Also, going forward are there any steps I should take to make sure these issues don't arise?
I have no idea, I just use Restore Database anytime I switch OSes with a calibre library. It isn't that frequent anyway.

Quote:
2. Calibre 1.48 vs. 2.x

My laptop runs Windows XP. Since I often run Calibre on my laptop, I use Calibre Portable 1.48. Is it still correct to assume Calibre 2.x is not compatible with Windows XP?
Correct.

Quote:
If so, should I also assume it's best not to mix two different versions of Calibre if I'm running them on the same library? i.e. there will likely be problems if I run Calibre 2.x for Linux on a library that I will later want to access with Calibre 1.48 for Windows.

I've downloaded the 1.48 tarballs and read the instructions for installing old versions under Linux, so I'm fine if that's the case.
It *should* be safe to mix, what matters is that the database schema hasn't really been updated. But you may wish to be safe anyway.

Quote:
3. Installed vs. Portable

I've always used Calibre Portable on my external hard drive, so I've never actually installed the non-portable version of Calibre before. Can I assume it's safe to run an installed version of Calibre on a library created under Calibre Portable?

Note that my external hard drive is not a NAS, and I don't intend to run multiple instances of Calibre at the same time. I just want to run it under Linux sometimes and under Windows other times.
Correct, Portable is just a rebundled copy of the binaries with a wrapper program to launch calibre using the correct environment variables and stuff, and managing the settings to play nice with the library path.

Quote:
4. Plugins

I have several questions about plugins.

4a. Since plugins are written in Python, can I assume they're cross-platform? i.e. I can get the same plugins for my Linux version of Calibre as for my Windows version.
Some plugins will say they only work on a specific platform. In that case, they will refuse to install.

Quote:
4b. Since my version of Calibre is "frozen" at 1.48, are there likely to be issues with newer versions of plugins on older versions of Calibre? I stopped updating my plugins the same time as I stopped updating Calibre because I didn't want to risk downloading and installing a plugin that would no longer work.
Most plugins try to remain backwards compatible if it isn't actually necessary to use new features. Some plugins will remain useful on old versions but require new versions for specific features.

Quote:
4c. (A combination of 4a and 4b) If it's better to stick with older versions of plugins, how do I get them into my Linux version of Calibre? Is there a place to download old versions? If not, can I transfer the plugins from my Windows version to my Linux version? I've read the "installing plugins manually" instructions, and I see a bunch of zip files in my "Calibre Settings\plugins" folder. Can I use these zip files to install the plugins manually under Linux?
Yes, use those ZIP files if it is necessary. I know of no other way, besides checking the Wayback Machine and praying (or if the plugin is managed in a GitHub repository).

Quote:
5. Are there any other issues I should be aware of?

Thanks in advance for any help you can give me.
Well, you might want to take a look at the updated version of calibre-portable.sh which I am working on, here: https://github.com/eli-schwartz/cali...re-portable.sh
eschwartz is offline   Reply With Quote
Old 02-11-2015, 03:00 PM   #4
Difflugia
Testate Amoeba
Difflugia ought to be getting tired of karma fortunes by now.Difflugia ought to be getting tired of karma fortunes by now.Difflugia ought to be getting tired of karma fortunes by now.Difflugia ought to be getting tired of karma fortunes by now.Difflugia ought to be getting tired of karma fortunes by now.Difflugia ought to be getting tired of karma fortunes by now.Difflugia ought to be getting tired of karma fortunes by now.Difflugia ought to be getting tired of karma fortunes by now.Difflugia ought to be getting tired of karma fortunes by now.Difflugia ought to be getting tired of karma fortunes by now.Difflugia ought to be getting tired of karma fortunes by now.
 
Difflugia's Avatar
 
Posts: 3,049
Karma: 27300000
Join Date: Sep 2012
Device: Many Android devices, Kindle 2, Toshiba e755 PocketPC
Quote:
Originally Posted by fidvo View Post
I run Calibre Portable on an external hard drive, and I recently installed Linux Mint on one of my computers. I would like to run Calibre on the same databases in both Windows and Linux.

I've identified potential issues that might arise, and I wanted to get input on how to solve them. So here are several questions I need answers to in order to get this to work.

1. Linux vs. Windows

I've heard there might be issues with case sensitivity of folder names and folder name length. Is there a way to identify whether this will be a problem for my existing libraries?

If I have to take the time to re-create my libraries from scratch in order to get around these incompatibilities, I'm willing to do it, but I'd prefer to avoid that if possible.

Also, going forward are there any steps I should take to make sure these issues don't arise?
I run Calibre between Linux and Windows with an external drive and have had very few problems. Calibre has never created a filename that works in Windows and not in Linux, so you won't have a problem with case sensitivity unless you're in the habit of editing filenames yourself.

The one related problem that I've had is that Linux will occasionally create a filename that's longer than what Windows considers acceptable. Windows seems happy using such files if they already exist, but won't create new ones, so this has only been an issue when using Windows to make a copy of my library. The solution is to use Linux to make copies or backups of your library instead of Windows. It's also a good idea to periodically run "Check library" from the "Library Maintenance" menu from both Linux and Windows to make sure everything's up to snuff, paying particular attention to "missing file formats".

Quote:
Originally Posted by fidvo View Post
2. Calibre 1.48 vs. 2.x

My laptop runs Windows XP. Since I often run Calibre on my laptop, I use Calibre Portable 1.48. Is it still correct to assume Calibre 2.x is not compatible with Windows XP?

If so, should I also assume it's best not to mix two different versions of Calibre if I'm running them on the same library? i.e. there will likely be problems if I run Calibre 2.x for Linux on a library that I will later want to access with Calibre 1.48 for Windows.

I've downloaded the 1.48 tarballs and read the instructions for installing old versions under Linux, so I'm fine if that's the case.
I haven't had any problems and I was accessing the same library with pretty divergent versions for a while, but I upgraded all of my installations to 2.19 recently. Unless someone else has said otherwise, I wouldn't expect problems using both 1.48 and 2.xx. I make regular backups, though, and would recommend that you do the same.

Quote:
Originally Posted by fidvo View Post
3. Installed vs. Portable

I've always used Calibre Portable on my external hard drive, so I've never actually installed the non-portable version of Calibre before. Can I assume it's safe to run an installed version of Calibre on a library created under Calibre Portable?

Note that my external hard drive is not a NAS, and I don't intend to run multiple instances of Calibre at the same time. I just want to run it under Linux sometimes and under Windows other times.
That's what I do. My Linux installation is a regular install and I have Calibre Portable for Windows on the drive. In fact, I have multiple libraries created under the Calibre Portable directory and freely switch between them.

Quote:
Originally Posted by fidvo View Post
4. Plugins

I have several questions about plugins.

4a. Since plugins are written in Python, can I assume they're cross-platform? i.e. I can get the same plugins for my Linux version of Calibre as for my Windows version.
For the most part, yes. There are a few plugins that use DLLs and are Windows-only, but all of the plugins I use work just fine in both Windows and Linux.

Quote:
Originally Posted by fidvo View Post
4b. Since my version of Calibre is "frozen" at 1.48, are there likely to be issues with newer versions of plugins on older versions of Calibre? I stopped updating my plugins the same time as I stopped updating Calibre because I didn't want to risk downloading and installing a plugin that would no longer work.
If you use the "get plugins" interface, the minimum version of Calibre is listed. Avoid any that are higher than 1.48.

Quote:
Originally Posted by fidvo View Post
4c. (A combination of 4a and 4b) If it's better to stick with older versions of plugins, how do I get them into my Linux version of Calibre? Is there a place to download old versions? If not, can I transfer the plugins from my Windows version to my Linux version? I've read the "installing plugins manually" instructions, and I see a bunch of zip files in my "Calibre Settings\plugins" folder. Can I use these zip files to install the plugins manually under Linux?
Even if you keep an older version of a Windows plugin, I can't think of a reason to use the older version in Linux. You are correct, though, that you can use the zip files to install the plugins on either platform.

Quote:
Originally Posted by fidvo View Post
5. Are there any other issues I should be aware of?

Thanks in advance for any help you can give me.
The most frequent problem I have is accidentally pulling out the drive's USB cable when I'm on my laptop. I've never done any permanent damage done to the filesystem, but I still make frequent backups. You should, too.
Difflugia is offline   Reply With Quote
Old 02-11-2015, 11:32 PM   #5
fidvo
Addict
fidvo ought to be getting tired of karma fortunes by now.fidvo ought to be getting tired of karma fortunes by now.fidvo ought to be getting tired of karma fortunes by now.fidvo ought to be getting tired of karma fortunes by now.fidvo ought to be getting tired of karma fortunes by now.fidvo ought to be getting tired of karma fortunes by now.fidvo ought to be getting tired of karma fortunes by now.fidvo ought to be getting tired of karma fortunes by now.fidvo ought to be getting tired of karma fortunes by now.fidvo ought to be getting tired of karma fortunes by now.fidvo ought to be getting tired of karma fortunes by now.
 
Posts: 296
Karma: 1599870
Join Date: Jun 2012
Device: none
Quote:
Originally Posted by gbm View Post
Calibre Portable 1.48 and 2.19 will run under wine in Lunix, and run the lateness verison if your cpu will support sse 2.

bernie
I actually tried Calibre under Wine, and it works mostly fine, although a little slow. The biggest issue is file types I'm not using Calibre's internal viewer for. I'm sure there's a way to configure Wine to handle these, but I'd rather spend my time getting Calibre working natively.

Quote:
Originally Posted by eschwartz View Post
It *should* be safe to mix, what matters is that the database schema hasn't really been updated. But you may wish to be safe anyway.
I think I'll stick with 1.48 for now. Maybe later I'll update after I've done some solid testing, but mixing and matching like that is just one more thing that has the potential to go wrong.

Quote:
Originally Posted by Difflugia View Post
That's what I do. My Linux installation is a regular install and I have Calibre Portable for Windows on the drive. In fact, I have multiple libraries created under the Calibre Portable directory and freely switch between them.
That sounds exactly how I'm trying to get this set up. It's good to know someone else is already running it like that.

Quote:
Originally Posted by Difflugia View Post
If you use the "get plugins" interface, the minimum version of Calibre is listed. Avoid any that are higher than 1.48.
Thanks for pointing that out. Can you believe I never actually noticed that column in the "get plugins" screen?

Looks like this is going to work out. I still plan to do some serious testing on a dummy library first, and of course make good backups of my existing libraries, but I'm pretty confident now. Thanks for your help, everyone!
fidvo is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre on usb disk in windows/linux enviornments Xwang Calibre 4 10-20-2012 07:04 PM
Calibre EBook-Betrachter (Linux - Windows) beedaddy Software 1 05-03-2012 02:38 AM
Using Calibre on Windows and Linux lookin Devices 1 06-21-2011 06:52 PM
OT-ish: Calibre in VirtualBox/Linux running Windows XP Client Gwen Morse Devices 9 04-14-2011 10:28 AM
Calibre on Linux, ADE on Windows/WINE - how do I manage? Beetle B. Calibre 4 11-28-2010 03:35 PM


All times are GMT -4. The time now is 05:13 PM.


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