View Single Post
Old 02-18-2014, 03:19 AM   #18
Gregg Bell
Gregg Bell
Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.
 
Gregg Bell's Avatar
 
Posts: 2,266
Karma: 3917598
Join Date: Jan 2013
Location: Itasca, Illinois
Device: Kindle Touch 7, Sony PRS300, Fire HD8 Tablet
Got it!

Quote:
Originally Posted by eschwartz View Post
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.
Thanks for simplifying it for me. One catch was it asked me what directory I wanted to install it in, but I just hit 'enter' again and it started installing it. Calibre seemed to (unless I'm really tired) make a nicer pdf from an epub than I remember it making in Windows. And it was fun looking at the Edit-Calibre thing. I at least am comfortable that I'll be able to make epubs in Linux now. Oh, and I did wonder (see screenshot) about the final bit in the terminal window (about automatic updates or what have you). And I thought the terminal window was the full screen. Oh well. I'm learning. I liked the Edit-calibre, but it didn't seem to be quite Sigil either. No spell check and the "view" window doesn't notify you when you make a code error. (Huge for somebody like me.) But it was definitely do-able. (Next up trying to get Sigil.) Thanks so much for all the help.
Attached Thumbnails
Click image for larger version

Name:	Selection_032.png
Views:	254
Size:	29.3 KB
ID:	119221  
Gregg Bell is offline