Calibre – 电子书观看软件

这是一个一站式开源电子书解决方案。

calibre is a one stop solution to all your e-book needs. It is free, open source and cross-platform in design and works well on Linux, OS X and Windows. calibre is meant to be a complete e-library solution and thus includes library management, format conversion, news feeds to ebook conversion, as well as e-book reader sync features and an integrated e-book viewer.

源代码方式:
python 2.6
setuptools 0.6c5
Python Imaging Library 1.1.6
libusb 0.1.12
Qt 4.5.1
PyQt 4.5.1
python-mechanize 0.1.11
ImageMagick 6.3.5
xdg-utils 1.0.2
dbus-python 0.82.2
lxml 2.1.5
python-dateutil 1.4.1
BeautifulSoup 3.0.5
dnspython 1.6.0
poppler-qt4 0.10.6
podofo 0.7

需要提前安装

1. python的setuptools
http://pypi.python.org/pypi/setuptools
sudo apt-get install python-setuptools
2. The dateutil module provides powerful extensions to the standard datetime module
http://labix.org/python-dateutil
sudo apt-get install python-dateutils
3. Stateful programmatic web browsing in Python, after Andy Lester’s Perl module WWW::Mechanize
http://wwwsearch.sourceforge.net/mechanize/
sudo apt-get install python-mechanize
4. Applications that use D-Bus typically connect to a bus daemon, which forwards messages between the applications. To use D-Bus, you need to create a Bus object representing the connection to the bus daemon.
python-dbus已有
http://dbus.freedesktop.org/releases/dbus-python/
http://dbus.freedesktop.org/doc/dbus-python/doc/tutorial.html
5. libusb 已有
http://www.libusb.org/
6. Python Imaging Library python-imaging
http://www.pythonware.com/products/pil/
7. Beautifulsoup
http://www.crummy.com/software/BeautifulSoup/
sudo apt-get install python-beautifulsoup
8. PoDoFo
http://podofo.sourceforge.net/
这个PDF的C库需要cmake
sudo apt-get install cmake
cmake .
make
sudo make install

9. sudo apt-get install python-dns

10. lxml
http://codespeak.net/lxml/
lxml is the most feature-rich and easy-to-use library for working with XML and HTML in the Python language.
sudo apt-get install python-lxml已有了

11. sip
http://www.ics.uci.edu/~dock/manuals/sip/sipref.html
sudo apt-get install python-sip4
sudo apt-get install python-sip4-dev

12.PyQt
sudo apt-get insatll python-qt4

因为版本问题,失败了。

二进制安装方法:

sudo python -c “import urllib2; exec urllib2.urlopen(‘http://status.calibre-ebook.com/linux_installer’).read(); main()”

成功。有图为证:

calibre

打赏

《Calibre – 电子书观看软件》有一个想法

发表评论

电子邮件地址不会被公开。 必填项已用*标注