![]() |
#1 |
Zealot
![]() ![]() Posts: 146
Karma: 100
Join Date: Aug 2003
Location: Nigeria
Device: galaxy tab
|
binary vs source
I've been happily running the source(developer) version for well over a year now but I haven't updated since version 0.9.9. Now I want to upgrade but from what I understand my version of Linux is too old for the newest versions of calibre. I'm current still using suse 11.4 and I can not upgrade at this time.
Can I use the binary cailibre without any dependency conflicts? And if so, how do I remove the developer install on my system? Better yet, is there a way to run them side by side? I need a quick fix until I am able to upgrade my Linux. thanks iomari |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,344
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Yes you can use the binary install, just install it, it should overwrite the source install and vice versa.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Zealot
![]() ![]() Posts: 146
Karma: 100
Join Date: Aug 2003
Location: Nigeria
Device: galaxy tab
|
I downloaded the 9.36 tar.bz2 file, extracted it to /opt then ran calibre_postinstall.
When I ran it, it still shows the old version. I checked the executable and it points to the new version. I'm confused. |
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,344
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
If you want to use the binary use the install script, otherwise you are on your own.
|
![]() |
![]() |
![]() |
#5 |
Zealot
![]() ![]() Posts: 146
Karma: 100
Join Date: Aug 2003
Location: Nigeria
Device: galaxy tab
|
I did but:
-> sudo python -c "import sys; py3 = sys.version_info[0] > 2; u = __import__('urllib.request' if py3 else 'urllib', fromlist=1); exec(u.urlopen('http://status.calibre-ebook.com/linux_installer').read()); main()" Enter the installation directory for calibre [/opt]: Will download and install calibre-0.9.36-i686.tar.bz2 Downloading calibre-0.9.36-i686.tar.bz2 100% [================================================== ================================================== =================================================] Downloaded 177 bytes Checking downloaded file integrity... The downloaded files' hash does not match. Try the download again later |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Omnivorous
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,283
Karma: 27978909
Join Date: Feb 2008
Location: Rural NW Oregon
Device: Kindle Voyage, Kindle Fire HD, Kindle 3, KPW1
|
|
![]() |
![]() |
![]() |
#7 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,344
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Try it again in a little while.
|
![]() |
![]() |
![]() |
#8 |
Zealot
![]() ![]() Posts: 146
Karma: 100
Join Date: Aug 2003
Location: Nigeria
Device: galaxy tab
|
ok, I've completed the install but it's still coming up showing version 9.9
|
![]() |
![]() |
![]() |
#9 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,344
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
ls -l `which calibre`
cat `which calibre` |
![]() |
![]() |
![]() |
#10 |
Zealot
![]() ![]() Posts: 146
Karma: 100
Join Date: Aug 2003
Location: Nigeria
Device: galaxy tab
|
-> which calibre
/usr/bin/calibre -> ls -l `which calibre` lrwxrwxrwx 1 root root 33 Jun 22 04:23 /usr/bin/calibre -> /mnt/installs/opt/calibre/calibre |
![]() |
![]() |
![]() |
#11 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,344
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Assuming that /mnt/installs/opt/calibre/calibre is where you installed the binary, then you should be running the binary, if you aren't, you're doing something wrong, unfortunately, I dont have mind reading abilities, so I cannot help you further
![]() |
![]() |
![]() |
![]() |
#12 |
Zealot
![]() ![]() Posts: 146
Karma: 100
Join Date: Aug 2003
Location: Nigeria
Device: galaxy tab
|
I've got it working. I had to manually delete /usr/lib/calibre.
Is there a way to change he separator character when using "calibredb catalog" on csv files other than a comma? I had manually changed it in the code when I was using the developer compile, but now I'm using binary so I don't have access to the source. |
![]() |
![]() |
![]() |
#13 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,344
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You can run from source when using a binarty build, see the setting up a development environment section of the user manual.
|
![]() |
![]() |
![]() |
#14 |
Zealot
![]() ![]() Posts: 146
Karma: 100
Join Date: Aug 2003
Location: Nigeria
Device: galaxy tab
|
Thanks, I have developer and binary both working but there's one more thing you can do to help me. A few months back I changed the default "calibredb catalog" csv separator from comma to "||" due to the fact that there are too many commas in the comments field making it difficult to parse.
Now that I have upgraded the binary and reinstalled the old developer, I can't seem to remember which file I edited to change the comma to "||". Can you please remind me which source file defines the comma as the separator for catalog csv export? Alternatively, is there already a feature in 0.9.36 that can do this that I am unaware of? thanks for all your help. iomari |
![]() |
![]() |
![]() |
#15 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,344
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I'm afraid I dont maintain the catalog code, you will need to do some grepping. Altough since the csv catalog has all fields quoted, I dont see why you would be unable to parse because of commas.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Lost theme on binary install | akovia | Calibre | 2 | 08-03-2012 12:51 PM |
Searching in binary field | Manichean | Calibre | 2 | 06-14-2010 06:29 AM |
0.6.45 Binary installation failure | lamparty | Calibre | 14 | 03-19-2010 01:19 AM |
Problem with binary install | ferridder | Calibre | 1 | 11-18-2008 01:27 PM |
Binary Install of calibre | Glenendale | Calibre | 1 | 11-10-2008 12:58 PM |