03-02-2014, 06:19 PM | #1 |
Junior Member
Posts: 5
Karma: 10
Join Date: Jan 2014
Location: New Zealand
Device: Kobo Mini
|
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()" Cheers NH |
03-02-2014, 06:27 PM | #2 |
Ex-Helpdesk Junkie
Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
If you look further down the page, there are options for doing an install to a non-default directory, as well as for a non-sudo command to just unpack the binaries.
Currently, you are using the main install command which assumes you are installing to /opt You cannot do that without root access. You can also still use the old install code, it has been left usable. I assume Kovid doesn't want to break things for anyone who aliased that command to "calibre-upgrade". |
Advert | |
|
03-02-2014, 10:28 PM | #3 |
creator of calibre
Posts: 44,391
Karma: 23798586
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
What is not working, exactly? Running the command without sudo as root should work just fine.
|
03-02-2014, 10:39 PM | #4 |
Ex-Helpdesk Junkie
Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
|
03-02-2014, 10:42 PM | #5 |
creator of calibre
Posts: 44,391
Karma: 23798586
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Running the command without sudo as root should work just fine.
|
Advert | |
|
03-02-2014, 10:47 PM | #6 |
Ex-Helpdesk Junkie
Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
|
Tags |
cli, install, install application, install download, linux |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Installing a "normal" Debian ARMEL Linux on the Kindle | choff | Kindle Developer's Corner | 18 | 09-09-2014 02:42 AM |
Installing Calibre on Headless Linux | dchagnon | Devices | 3 | 12-17-2013 04:18 PM |
Help installing Debian | vector-crumb | Kindle Developer's Corner | 15 | 01-01-2013 04:42 PM |
Installing in Debian Squeeze Command Line Only | drjonez | Devices | 2 | 08-23-2011 05:22 PM |
Installing Calibre in Arch Linux | jatz | Calibre | 0 | 03-23-2010 01:41 PM |