How To Install calibre on Debian 9
Introduction
In this tutorial we learn how to install calibre
on Debian 9.
What is calibre
calibre is:
Calibre is meant to be a complete e-library solution. It includes library management, format conversion, news feeds to e-book conversion as well as e-book reader sync features.
Calibre is primarily an e-book cataloging program. It manages your e-book collection for you. It is designed around the concept of the logical book, i.e. a single entry in the database that may correspond to e-books in several formats. It also supports conversion from a dozen different e-book formats to LRF and EPUB. A graphical interface to the conversion software can be accessed easily by just clicking the “Convert E-books” button.
Supported input formats are: MOBI, LIT, PRC, EPUB, ODT, HTML, CBR, CBZ, RTF, TXT, PDF and LRS.
Calibre has a modular device driver design that makes adding support for different e-reader devices easy. At the moment, it has support for the SONY PRS 500/505/700 and the iPhone (with the stanza reader software). Syncing supports updating metadata on the device from metadata in the library and the creation of collections on the device based on the tags defined in the library view. If an book has more than one format available, calibre automatically chooses the best format when uploading to the device.
Calibre can automatically fetch news from a number of websites/RSS feeds, format the news into a e-book and upload to a connected device. There is support for generating LRF/EPUB e-books. The e-books include the full versions of the articles, not just the summaries.
Calibre has also a built-in e-book viewer that can display all the major e-book formats.
There are three methods to install calibre
on Debian 9. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install calibre Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install calibre
using apt-get
by running the following command:
sudo apt-get -y install calibre
Install calibre Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install calibre
using apt
by running the following command:
sudo apt -y install calibre
Install calibre Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install calibre
using aptitude
by running the following command:
sudo aptitude -y install calibre
How To Uninstall calibre on Debian 9
To uninstall only the calibre
package we can use the following command:
sudo apt-get remove calibre
Uninstall calibre And Its Dependencies
To uninstall calibre
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove calibre
Remove calibre Configurations and Data
To remove calibre
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge calibre
Remove calibre configuration, data, and all of its dependencies
We can use the following command to remove calibre
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge calibre
Dependencies
calibre have the following dependencies:
- python2.7
- python-dbus
- python-pil
- python-lxml
- python-mechanize
- python-beautifulsoup
- python-pkg-resources
- python-cssutils
- python-cssselect
- python-cherrypy3
- python-dateutil
- python-feedparser
- python-markdown
- python-pyqt5
- python-pyqt5.qtwebkit
- python-pyqt5.qtsvg
- python-pyparsing
- python-routes
- python-chardet
- python-netifaces
- python-apsw
- xdg-utils
- imagemagick
- poppler-utils
- fonts-liberation
- libjs-mathjax
- calibre-bin
References
Summary
In this tutorial we learn how to install calibre
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.