|
|
#1 |
|
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Jan 2014
Device: none
|
Calibre on Linux - Updating app
I have Calibre v1.20 on Linux - Ubuntu 12.04. When a new version is released do I have to do anything to install the new version? In other words, do I have to remove the current version in order to install the new release? I (so far) have not found a user option to manually check for updates for Calbre. Where is this or is there an option to manually check for updates?
|
|
|
|
|
|
#2 |
|
Handy Elephant
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,737
Karma: 26785684
Join Date: Dec 2009
Location: Southern Sweden, far out in the quiet woods
Device: Samsung Galaxy Tab S8 Ultra
|
No, you don't have to do anything, except running the script to download and install the new version.
I put the script that is used to update in a file, so I just have to click the file to start a update. Code:
#!/bin/bash
sudo -S 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(install_dir='/opt')"
At the bottom left of calibre you can see what version you are running, and if there is a new version available. Usually there is a new version every week on thursday or friday. But usually only minor things change, so you don't have to update every week. Last edited by Adoby; 01-19-2014 at 08:22 AM. |
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,341
Karma: 62025226
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
You could also subscribe to the Calibre Changelog RSS feed from your browser
Where did I find THAT link? I did it recently and it does WORK
|
|
|
|
|
|
#4 | |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,744
Karma: 80104526
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
Quote:
|
|
|
|
|
|
|
#5 |
|
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
And you could always put it into a cron job to update automatically. There was a thread a while back that came up with am increasingly elaborate script for that, killing running instances, servers, etc. checking the current version vs. the posted update, then running the update code.
|
|
|
|
| Advert | |
|
|
|
|
#6 |
|
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,341
Karma: 62025226
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
|
|
|
|
|
#7 |
|
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Jan 2014
Device: none
|
Thanks for the responses. I am still getting familiar with Ubuntu. I intend to ditch Windows altogether if possible. So far, all goes well with the transition for what (the stuff and things) I want to have and do in Ubuntu that I was doing in Windows. Again ... thanks.I'm gone.
|
|
|
|
|
|
#8 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,824
Karma: 9503859
Join Date: Dec 2012
Location: France
Device: (Sony (J) PRS 650), Kobo Mini, Kobo Glo HD (broken), Kobo Clara BW
|
Since Calibre is updated pretty much every Friday, that day when I start Calibre I look at the right bottom side. There's a link to get the update. From this web page I copy and paste the command in a terminal, enter the sudo password and select /opt as the place to write the software. A couple of minutes later I can run an updated Calibre
Don't forget to close Calibre before the update and you should be good to go.
|
|
|
|
|
|
#9 | |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,219
Karma: 8888888
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
|
All I do is open a Terminal, then press the up arrow until I reach the last time updated calibre, then press enter, type in my sudo password, good to go,
bernie Quote:
|
|
|
|
|
|
|
#10 |
|
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
and I have a script called "calibre-upgrade" that looks like this:
Code:
#!/bin/bash
calibre-debug -c "import urllib as u; from calibre.constants import numeric_version; raise SystemExit(int(numeric_version < (tuple(map(int, u.urlopen('http://calibre-ebook.com/downloads/latest_version').read().split('.'))))))"
UP_TO_DATE=$?
if [ $UP_TO_DATE = 0 ]; then
echo "Calibre is up-to-date"
else
calibre --shutdown-running-calibre
killall calibre-server
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()"
fi
Code:
0 6 * * 5 /home/schwartze/bin/calibre-upgrade > /dev/null 2>&1 |
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [Linux] Calibre on Linux isn't detecting any of my Android devices | Amogh Harish | Devices | 9 | 10-31-2012 06:45 AM |
| Problems updating in Linux with slow connection | txgecko | Devices | 4 | 05-04-2012 05:01 PM |
| Updating Sigil (Linux) | Kino | Sigil | 3 | 01-30-2012 09:21 AM |
| iPad Updating an App | HarryT | Apple Devices | 3 | 06-08-2010 06:14 AM |