View Single Post
Old 02-15-2014, 11:41 PM   #15
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
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:
Originally Posted by Gregg Bell View Post
Thanks mrmikel. I went to the site but I'm not comfortable working in the terminal yet. (I went there once, with lousy instructions on how to use it, and had a heck of a time getting out of it.) It's like Harry was saying, I need to learn more about Linux. Once familiar, it'll probably seem easy. Right now, it seems uber complicated. Appreciate your help. Thank you.
It's very simple, just copy-paste.

Press Ctrl+Alt+T to open the terminal, right-click and select paste,
(here's the code again)
Code:
sudo python -c "import sys; py3 = sys.version_info[0] > 2; u = __import__('urllib.request' if py3 else 'urllib', fromlist=1); exec(u.urlopen('http://status.calibre-ebook.com/linux_installer').read()); main()"
then hit enter. You will be prompted for your login password, to confirm that you should be doing this (to prevent accidental malware installations, etc.) and calibre will install itself.
I'd be very surprised if anything went wrong, this isn't debugging or manipulation of configuration scripts or anything.

It's one of the more foolproof things the terminal gets used for. In fact, basic copy-paste stuff like this might be a good way to start getting used to the terminal.

Gory details on what's happening in that command -- well, not really gory: It uses the python programming language to download and run the auto-installation script from the calibre website. Pretty simple, and about the only thing that could go wrong is your internet connection.

Last edited by eschwartz; 02-15-2014 at 11:47 PM.
eschwartz is offline