[CentOS] Calibre installation fails on C7

Wed Dec 23 22:34:56 UTC 2015
Wes James <comptekki at me.com>

> On Dec 22, 2015, at 9:13 PM, Fred Smith <fredex at fcshome.stoneham.ma.us> wrote:
> On Tue, Dec 22, 2015 at 09:03:28PM -0700, Wes James wrote:
>>> On Dec 22, 2015, at 8:06 PM, Fred Smith <fredex at fcshome.stoneham.ma.us> wrote:
>>> Attempting to install latest Calibre on Centos-7, getting:
>> typed in "calibre ssl install error” to google
>> first hit:
>> http://stackoverflow.com/questions/26615914/calibre-fails-to-install <http://stackoverflow.com/questions/26615914/calibre-fails-to-install>
>> not sure if it helps (the no check cert option??)
> Nope. makes no difference.

I just went through the build it yourself process.  Give this a try:

open terminal

cd Downloads

download qt-unified-linux-x64-2.0.2-2-online.run from http://www.qt.io/download-open-source/
chmod +x qt-unified-linux-x64-2.0.2-2-online.run
sudo ./qt-unified-linux-x64-2.0.2-2-online.run

after install qt above, edit your .bashrc file and add:

export PATH=/opt/Qt/5.5/gcc_64/bin:$PATH

then run

. ~/.bashrc

sudo yum install python-devel -y

wget http://sourceforge.net/projects/pyqt/files/sip/sip-4.17/sip-4.17.tar.gz
tar -zxf sip-4.17.tar.gz
cd sip-4.17
python configure.py
sudo make install

cd ..

sudo yum install python-pip -y
sudo pip install mechanize
sudo yum install ImageMagick-devel -y
sudo yum install libxslt-devel libxml2-devel -y

wget http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm
sudo rpm -Uvh nux-dextop-release-0-5.el7.nux.noarch.rpm
sudo yum install python-cssutils -y

sudo yum install podofo -y
sudo yum install libwmf -y
sudo yum install libmtp-devel -y
sudo yum install python-netifaces -y
sudo yum install python-psutil -y
sudo yum install python-apsw -y
sudo yum install python-dbus -y
sudo yum install python-pygments -y
sudo yum install optipng -y

wget http://sourceforge.net/projects/pyqt/files/PyQt5/PyQt-5.5.1/PyQt-gpl-5.5.1.tar.gz
tar -zxf PyQt-gpl-5.5.1.tar.gz
cd PyQt-gpl-5.5.1
python configure.py --disable QtPositioning
sudo make install

cd ..

sudo yum install python-imaging -y
sudo yum install sqlite-devel -y
sudo yum install chmlib-devel -y
sudo yum install podofo-devel -y
sudo yum install libusbx-devel -y
sudo yum install qt5-qtbase-static -y
sudo yum install libudev-devel -y
sudo yum install openssl-devel -y
sudo yum install libicu-devel -y
sudo yum install libXrender-devel -y

curl -L http://code.calibre-ebook.com/dist/src | tar xvJ
cd calibre-2.47.0

sudo python setup.py install

then type in the program name at the terminal prompt and press enter: