Quote:
Originally Posted by JSWolf
I've possibly found the problem for Linux and MacUpdate. For the OS X version, there are three links. One of them links to Github. Of the three, Github is the slowest. The Linux version only downloads from Github.
|
The linux version is not downloaded from GitHub, only the initial script is downloaded from GitHub which is tiny. The actual calibre installers are downloaded from the same server as the windows ones. And I just tried it on my linux box and the entire process including download and installation took under a minute
Code:
time wget -nv -O- https://raw.githubusercontent.com/kovidgoyal/calibre/master/setup/linux-installer.py | python -c "import sys; main=lambda x,y:sys.stderr.write('Download failed\n'); exec(sys.stdin.read()); main('~/calibre-bin', True)" *
2016-12-03 08:38:47 URL:https://raw.githubusercontent.com/kovidgoyal/calibre/master/setup/linux-installer.py [26007/26007] -> "-" [1]
Installing to /home/kovid/calibre-bin/calibre
Downloading tarball signature securely...
Using proxies: {'auto': 'file:///home/kovid/work/env/private/proxy.pac'}
Will download and install calibre-2.73.0-x86_64.txz
Downloading calibre-2.73.0-x86_64.txz
100% [=====================================================================================================================================================================================================================================================]
Downloaded 62040608 bytes
Checking downloaded file integrity...
Extracting files to /home/kovid/calibre-bin/calibre ...
Extracting application files...
Run "/home/kovid/calibre-bin/calibre/calibre" to start calibre
wget -nv -O- 0.04s user 0.01s system 6% cpu 0.820 total
python -c 4.81s user 1.76s system 13% cpu 50.192 total