Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 05-15-2025, 11:28 PM   #1
Lavender
Connoisseur
Lavender ought to be getting tired of karma fortunes by now.Lavender ought to be getting tired of karma fortunes by now.Lavender ought to be getting tired of karma fortunes by now.Lavender ought to be getting tired of karma fortunes by now.Lavender ought to be getting tired of karma fortunes by now.Lavender ought to be getting tired of karma fortunes by now.Lavender ought to be getting tired of karma fortunes by now.Lavender ought to be getting tired of karma fortunes by now.Lavender ought to be getting tired of karma fortunes by now.Lavender ought to be getting tired of karma fortunes by now.Lavender ought to be getting tired of karma fortunes by now.
 
Lavender's Avatar
 
Posts: 57
Karma: 514138
Join Date: Jan 2025
Device: Kobo Clara BW
Linux repo for updates?

Is there a way to add a repo to my Kubuntu PC for Calibre updates with apt in the future, or do I have to input the command listed on the download page every time?
Lavender is offline   Reply With Quote
Old 05-16-2025, 12:39 AM   #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,171
Karma: 8800000
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
https://www.mobileread.com/forums/sh...d.php?t=237233

bernie

Quote:
Originally Posted by Lavender View Post
Is there a way to add a repo to my Kubuntu PC for Calibre updates with apt in the future, or do I have to input the command listed on the download page every time?
gbm is offline   Reply With Quote
Old 05-16-2025, 12:39 AM   #3
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 45,014
Karma: 168808719
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Currently you need to use the command line every time. I have it saved as an .sh file on my Linux VMs.
DNSB is offline   Reply With Quote
Old 05-16-2025, 01:57 AM   #4
Lavender
Connoisseur
Lavender ought to be getting tired of karma fortunes by now.Lavender ought to be getting tired of karma fortunes by now.Lavender ought to be getting tired of karma fortunes by now.Lavender ought to be getting tired of karma fortunes by now.Lavender ought to be getting tired of karma fortunes by now.Lavender ought to be getting tired of karma fortunes by now.Lavender ought to be getting tired of karma fortunes by now.Lavender ought to be getting tired of karma fortunes by now.Lavender ought to be getting tired of karma fortunes by now.Lavender ought to be getting tired of karma fortunes by now.Lavender ought to be getting tired of karma fortunes by now.
 
Lavender's Avatar
 
Posts: 57
Karma: 514138
Join Date: Jan 2025
Device: Kobo Clara BW
Quote:
Originally Posted by gbm View Post
Ah, right. I should have searched "PPA" instead of "repo."

Quote:
Originally Posted by DNSB View Post
Currently you need to use the command line every time. I have it saved as an .sh file on my Linux VMs.
Thank you, both for sharing. I'm still new to Linux.
Lavender is offline   Reply With Quote
Old 05-16-2025, 04:34 AM   #5
Quoth
Still reading
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 13,742
Karma: 103847703
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
Also on most Linux distros you can up arrow through history on a console, see the command and hit enter. Depends how much you use the console command line.
Quoth is offline   Reply With Quote
Old 05-16-2025, 07:19 PM   #6
shuvashish76
Zealot
shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.
 
shuvashish76's Avatar
 
Posts: 109
Karma: 622202
Join Date: Jan 2022
Location: India
Device: Kobo Clara BW
I've set it up as alias in my ~/.bashrc
Code:
alias calibreup='sudo -v && wget -nv -O- https://download.calibre-ebook.com/linux-installer.sh | sudo sh /dev/stdin'
(OR use the isolated one as alias that way you don't have to type root password.)
whenever I get the notification for update I just type calibreup in my terminal.

Quote:
Originally Posted by Lavender View Post
I'm still new to Linux.
https://www.youtube.com/watch?v=Ok_kD_sgNcs

Last edited by shuvashish76; 05-16-2025 at 07:57 PM.
shuvashish76 is offline   Reply With Quote
Old 05-17-2025, 01:51 PM   #7
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,236
Karma: 145488788
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
This is how you post a YT video. Make sure you are in advanced mode. Click the YT icon. Paste the bit of the YT URL after the v=. In this case, it's kD_sgNcs. Paste it in the YT tags.

JSWolf is offline   Reply With Quote
Old 05-17-2025, 03:17 PM   #8
Lavender
Connoisseur
Lavender ought to be getting tired of karma fortunes by now.Lavender ought to be getting tired of karma fortunes by now.Lavender ought to be getting tired of karma fortunes by now.Lavender ought to be getting tired of karma fortunes by now.Lavender ought to be getting tired of karma fortunes by now.Lavender ought to be getting tired of karma fortunes by now.Lavender ought to be getting tired of karma fortunes by now.Lavender ought to be getting tired of karma fortunes by now.Lavender ought to be getting tired of karma fortunes by now.Lavender ought to be getting tired of karma fortunes by now.Lavender ought to be getting tired of karma fortunes by now.
 
Lavender's Avatar
 
Posts: 57
Karma: 514138
Join Date: Jan 2025
Device: Kobo Clara BW
Quote:
Originally Posted by shuvashish76 View Post
I've set it up as alias in my ~/.bashrc
Code:
alias calibreup='sudo -v && wget -nv -O- https://download.calibre-ebook.com/linux-installer.sh | sudo sh /dev/stdin'
(OR use the isolated one as alias that way you don't have to type root password.)
whenever I get the notification for update I just type calibreup in my terminal.


https://www.youtube.com/watch?v=Ok_kD_sgNcs
Thank you for the guide. I've actually been meaning to learn how to do that bash alias thing. I learned it could be done a while ago, and haven't gotten around to it.
Lavender is offline   Reply With Quote
Old 05-17-2025, 07:03 PM   #9
shuvashish76
Zealot
shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.
 
shuvashish76's Avatar
 
Posts: 109
Karma: 622202
Join Date: Jan 2022
Location: India
Device: Kobo Clara BW
Quote:
Originally Posted by JSWolf View Post
This is how you post a YT video. Make sure you are in advanced mode. Click the YT icon. Paste the bit of the YT URL after the v=. In this case, it's kD_sgNcs. Paste it in the YT tags.
I use ublock in advanced mode and all 3rd-party frames are blocked by default everywhere so I don't see anything that are embedded to the site.
For users like me direct links are better.

Anyways I trust this forum so added Local noop rule for 3rd-party frames (from youtube only) as permanent change. Just my personal preference

Last edited by shuvashish76; 05-17-2025 at 07:40 PM.
shuvashish76 is offline   Reply With Quote
Old 05-18-2025, 01:57 PM   #10
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,236
Karma: 145488788
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by shuvashish76 View Post
I use ublock in advanced mode and all 3rd-party frames are blocked by default everywhere so I don't see anything that are embedded to the site.
For users like me direct links are better.

Anyways I trust this forum so added Local noop rule for 3rd-party frames (from youtube only) as permanent change. Just my personal preference
Forget ublock in advanced mode. It's rubbish. It's blocking valid content. The problem is you may not know what it's blocking because you can't see it.
JSWolf is offline   Reply With Quote
Old 05-18-2025, 03:53 PM   #11
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: 867
Karma: 409968
Join Date: Sep 2017
Location: Buenos Aires, Argentina
Device: moon+ reader, kindle paperwhite
I've created a script to install Calibre if there's a Linux update, but it needs to tell me when I have the latest version installed. I'm posting it in case it's useful to anyone. I'll translate it to English.


Code:
#!/bin/bash

echo "�� Checking installed version of calibre..."
installed_version_full=$(calibre --version 2>/dev/null | grep -oP '\d+\.\d+(\.\d+)?')

if [ -z "$installed_version_full" ]; then
    echo "❌ calibre is not installed or the version could not be detected."
    notify-send "⚠️ calibre is not installed or the version could not be detected."
    exit 1
fi

# If the installed version has only 2 numbers, add .0 for proper comparison
if [[ "$installed_version_full" =~ ^[0-9]+\.[0-9]+$ ]]; then
    installed_version_full="${installed_version_full}.0"
fi

echo "�� Installed version: $installed_version_full"

echo "�� Checking latest available version..."
new_version=$(curl -s https://code.calibre-ebook.com/latest | jq -r '.tag_name')

if [ -z "$new_version" ]; then
    echo "❌ Could not retrieve the latest version."
    notify-send "⚠️ Could not retrieve the latest version of calibre."
    exit 1
fi

echo "�� Latest available version: $new_version"

# Compare versions
if [ "$installed_version_full" = "$new_version" ]; then
    echo "✅ calibre is up to date ($installed_version_full)."
    notify-send "✅ calibre is up to date ($installed_version_full)."
    exit 0
else
    echo "⬇️ New version available: $new_version. Starting update..."
    notify-send "⬇️ New version available: $new_version. Starting update..."
fi

# Download installer
installer_url="https://download.calibre-ebook.com/${new_version}/calibre-linux-installer.sh"
echo "�� Downloading from: $installer_url"
wget -q --show-progress -O calibre_installer.sh "$installer_url"

# Check if an HTML page was downloaded by mistake
if grep -q "<!DOCTYPE html>" calibre_installer.sh; then
    echo "❌ Error: the installer was not downloaded correctly."
    notify-send "⚠️ Error downloading calibre installer."
    rm -f calibre_installer.sh
    exit 1
fi

chmod +x calibre_installer.sh

# Run the installer
echo "�� Starting installation..."
sudo ./calibre_installer.sh

# Check installed version after installation
new_installed=$(calibre --version 2>/dev/null | grep -oP '\d+\.\d+(\.\d+)?')
if [[ "$new_installed" =~ ^[0-9]+\.[0-9]+$ ]]; then
    new_installed="${new_installed}.0"
fi

if [ "$new_installed" = "$new_version" ]; then
    echo "✅ calibre updated to $new_installed."
    notify-send "✅ calibre updated to $new_installed."
else
    echo "⚠️ The update did not complete successfully."
    notify-send "⚠️ The update did not complete successfully."
fi

rm -f calibre_installer.sh
Attached Thumbnails
Click image for larger version

Name:	1.png
Views:	30
Size:	83.8 KB
ID:	215755  
Attached Files
File Type: zip calibre_installer.zip (391 Bytes, 14 views)

Last edited by dunhill; 05-18-2025 at 04:00 PM.
dunhill is offline   Reply With Quote
Old 05-19-2025, 08:59 AM   #12
Cactus Chef
Fanatic
Cactus Chef ought to be getting tired of karma fortunes by now.Cactus Chef ought to be getting tired of karma fortunes by now.Cactus Chef ought to be getting tired of karma fortunes by now.Cactus Chef ought to be getting tired of karma fortunes by now.Cactus Chef ought to be getting tired of karma fortunes by now.Cactus Chef ought to be getting tired of karma fortunes by now.Cactus Chef ought to be getting tired of karma fortunes by now.Cactus Chef ought to be getting tired of karma fortunes by now.Cactus Chef ought to be getting tired of karma fortunes by now.Cactus Chef ought to be getting tired of karma fortunes by now.Cactus Chef ought to be getting tired of karma fortunes by now.
 
Cactus Chef's Avatar
 
Posts: 513
Karma: 7000000
Join Date: Apr 2019
Device: Kobo Sage, Kobo Clara HD, Galaxy Tab S5e, Kindle 4th Gen
I switched to the Flatpak years ago and never looked back.
Cactus Chef is offline   Reply With Quote
Old 05-19-2025, 02:52 PM   #13
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,236
Karma: 145488788
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Cactus Chef View Post
I switched to the Flatpak years ago and never looked back.
So did Ikea.
JSWolf is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Update of the Ubuntu repo with the last version 7.20. tom99 Development 14 10-20-2024 12:20 PM
PW4 Firmware Repo Toj Kindle Developer's Corner 2 06-23-2022 07:27 PM
Native A KUAL extension. Linux Deploy: chrooted GNU/Linux for modern Kindle zaoqi Kindle Developer's Corner 12 03-14-2020 11:41 AM
Upgrade from Ubuntu repo version to binary installer huladaddy Calibre 7 07-30-2014 02:21 AM
Stop by my blog for my review of Repo Men lmpreston General Discussions 1 03-23-2010 11:20 AM


All times are GMT -4. The time now is 06:15 AM.


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