View Single Post
Old 03-02-2014, 06:19 PM   #1
Nix Hard
Junior Member
Nix Hard began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jan 2014
Location: New Zealand
Device: Kobo Mini
Thumbs up Installing calibre 1.26 in linux debian with no sudo

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
Nix Hard is offline   Reply With Quote