I was getting no-where with the new install code for calibre 1.26 on a Debian/stable distro that does not have sudo set up or usually use it.
I use to start a CLI, then enter the "su" command, then enter my password and paste in the old code minus the sudo command part at the beginning and hit enter.
That is no longer working, so a little fiddling around and I came up with this that seems to work.
Start up a CLI as user, and su to root, then enter this;
Code:
wget -nv -O- https://github.com/kovidgoyal/calibre/raw/master/setup/linux-installer.py | python -c "import sys; main=lambda:sys.stderr.write('Download failed\n'); exec(sys.stdin.read()); main()"
I took the "sudo -v && " at the beginning out and the "sudo " out in the middle.
Cheers NH