and Install CALIBRI For Linux

Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 3

Download and install CALIBRI for

Linux
Download for linux
The latest release of calibre is 2.12.0. What's new.
Please do not use your distribution provided calibre package, as those are often
buggy/outdated. Instead use the Binary install described below.

Binary install
calibre has a binary install that includes private versions of all its dependencies. It runs on
32-bit and 64-bit Intel compatible machines. To install or upgrade, simply copy paste the
following command into a terminal and press Enter:
sudo -v && wget -nv -Ohttps://raw.githubusercontent.com/kovidgoyal/calibre/master/setup/linuxinstaller.py | sudo python -c "import sys;
main=lambda:sys.stderr.write('Download failed\n');
exec(sys.stdin.read()); main()"

If you get an error about an untrusted certificate, that means your computer does not have any
root certificates installed and so cannot download the installer securely. If you still want to
proceed, pass the --no-check-certificate option to wget, like this:

sudo -v && wget --no-check-certificate -nv -Ohttps://raw.githubusercontent.com/kovidgoyal/calibre/master/setup/linuxinstaller.py | sudo python -c "import sys;
main=lambda:sys.stderr.write('Download failed\n');
exec(sys.stdin.read()); main()"

You must have xdg-utils, wget and python 2.6 installed on your system before running the
installer.
You can uninstall calibre by running sudo calibre-uninstaller. Alternately, simply deleting the
installation directory will remove 99% of installed files.
You need GLIBC 2.13 or higher and libstdc++.so.6.0.17 (from gcc 4.7.0) or higher to run
calibre
You can change the directory calibre is installed into from the default (/opt) like this:

sudo -v && wget -nv -Ohttps://raw.githubusercontent.com/kovidgoyal/calibre/master/setup/linuxinstaller.py | sudo python -c "import sys; main=lambda
x:sys.stderr.write('Download failed\n'); exec(sys.stdin.read());
main('/opt')"

Change /opt above to whatever directory you want calibre automatically installed to.
You can also do an "isolated" install that only touches files inside the installation directory
and does not need to be run as root, like this:

wget -nv -Ohttps://raw.githubusercontent.com/kovidgoyal/calibre/master/setup/linuxinstaller.py | python -c "import sys; main=lambda


x,y:sys.stderr.write('Download failed\n'); exec(sys.stdin.read());
main('~/calibre-bin', True)"

If you wish to revert to an earlier calibre release or download a calibre upgrade manually,
download the tarball of that release from here (choose the 32-bit or 64-bit version, as
appropriate). Assuming you installed calibre in /opt/calibre, run the following command:
sudo rm -rf /opt/calibre/* && sudo tar xvf
/path/to/downloaded/calibre-tarball.txz -C /opt/calibre

Source install
WARNING: calibre is a highly complex piece of software with lots
of very finicky dependencies. If you install from source,
you are on your own. Please do not open bug reports or
expect any form of support. You have been warned.

If you're still determined to install from source, read on:


1. Make sure your system has python 2.7.1 not 3.x
2. Install the various dependencies listed below
3. Run the following commands in a terminal:
curl -L http://status.calibre-ebook.com/dist/src | tar xvJ
cd calibre*
sudo python setup.py install

Dependencies
calibre has the following dependencies (the listed version is the
minimum version)
Package
python
Python Imaging
Library
Qt
PyQt
python-mechanize
ImageMagick
xdg-utils
lxml
python-dateutil
cssutils
BeautifulSoup
dnspython
poppler
podofo
libwmf
chmlib
ICU
libmtp
netifaces
psutil
cssselect
apsw
python-dbus
python-pygments

Version
2.7.1 not
3.x
1.1.6
5.3.2
5.3.1
0.1.11
6.5.9
1.0.2
3.2.1
1.4.1
0.9.9
3.0.5
1.6.0
0.20.2
0.8.2
0.2.8
0.40
4.4
1.1.5
0.8
0.6.1
0.7.1
3.7.17
1.2.0
2.0.1

You might also like