![]() |
#1 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Nov 2012
Device: none
|
Calibre installation on Ubuntu behind proxy
I'm in a college, and we have to use proxy for internet access.
I was trying to install Calibre using the wget command (as given at http://calibre-ebook.com/download_linux), but I get an error socket.error: [Erno 111] Connection Refused. I'm able to use apt-get however, so it is not a network issue. Suggestions? |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Setup the proper proxy for wget using the http_proxy and https_proxy environment variables. Or download the tarball manually as is described in the download linux page for installing previous releases.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Nov 2012
Device: none
|
Worked like a charm!
Thanks.
|
![]() |
![]() |
![]() |
#4 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Oct 2010
Device: Kindle 2
|
Like the OP, I am unable use the generic method (wget) to install Calibre on my Ubuntu 14.04 system due to being behind a proxy server. I've also tried the no-check-certificate method with wget without success.
What I ended up doing was installing Calibre via the repository ("sudo apt-get install calibre") but this version is kind of old. So I figured I'd download the tarball of 2.0 and overwrite the 1.25 version I currently have using the method called out on the download page: Code:
sudo rm -rf /opt/calibre/* && sudo tar xvf /path/to/downloaded/calibre-tarball.txz -C /opt/calibre Code:
$ whereis calibre calibre: /usr/bin/calibre /usr/lib/calibre /usr/bin/X11/calibre /usr/share/calibre /usr/share/man/man1/calibre.1.gz Code:
sudo rm -rf /usr/share/calibre/* && sudo tar xvf /home/tiffty/calibre-2.0.0-i686.txz -C /usr/share/calibre Code:
sudo rm -rf /usr/lib/calibre/* && sudo tar xvf /home/tiffty/calibre-2.0.0-i686.txz -C /usr/lib/calibre Does the "copy over" technique not work when going from 1.x to 2.0? |
![]() |
![]() |
![]() |
#5 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Uninstall the repository calibre.
Download the tarball Then run Code:
sudo mkdir -p /opt/calibre sudo rm -rf /opt/calibre/* && sudo tar xvf /path/to/downloaded/calibre-tarball.txz -C /opt/calibre sudo /opt/calibre/calibre_postinstall |
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Quote:
In other words, the two are mutually exclusive in every respect and deleting stuff from the distro calibre will break the distro calibre, even if you replace it with binaries. And /usr/bin/calibre can only launch one of them, but you never set it to launch the binary calibre. That is what running /opt/calibre/calibre_postinstall does (usually as part of the generic installer). |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre installation on Ubuntu 10.0.4.1 LTS | zopyx | Devices | 21 | 04-14-2011 04:34 PM |
Calibre installation on Ubuntu 8.0.4 | yet | Devices | 11 | 04-02-2011 12:37 AM |
Calibre 0.6.48 on Ubuntu 9.10 -- installation failed | lenik | Calibre | 8 | 04-28-2010 09:26 PM |
Calibre on Ubuntu 8.04 - installation failed | kostap | Calibre | 25 | 03-26-2009 11:45 PM |