07-20-2012, 11:02 AM | #1 |
Junior Member
Posts: 5
Karma: 10
Join Date: Jan 2012
Device: Kindle 4, Powerbook 902
|
Calibre binary install on Ubuntu 12.04 without root rights
Hello there,
I'm trying to install the 0.8.60 version of Calibre as a regular user on Linux, i. e. into my home directory, with: 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(install_dir='/home/dirk/')" However the installer insists on writing to /opt So, how can I install calibre without root rights? -- Dirk |
07-20-2012, 11:16 AM | #2 |
US Navy, Retired
Posts: 9,867
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
Welcome to Mobileread.
The directions from the linux calibre download page uses sudo as a prefix to the install line. Are you following the directions on that page? Moderator Notice
Moved the thread to general calibre forum. The development forum is not the place to ask general questions about installation. Please read the "PLEASE READ BEFORE POSTING - The purpose of this subforum" sticky post from the top of the Development forum. Last edited by DoctorOhh; 07-20-2012 at 11:24 AM. |
Advert | |
|
07-20-2012, 11:23 AM | #3 | |
Well trained by Cats
Posts: 30,443
Karma: 58055868
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
The second prompt is asking you to confirm the default by typing Y. Did you try 'N' ? |
|
07-21-2012, 10:16 AM | #4 |
Junior Member
Posts: 4
Karma: 10
Join Date: Feb 2011
Location: Switzerland
Device: Kindle 3
|
That's interesting. I wanted to install Calibre into "/opt/Calibre". However, the installer wrote all files into my home folder.
It seems that the installer takes the home directory if it has no root access. Edit: Oh, I just saw that the command on the Calibre page is with sudo. Last edited by Daniel_09; 07-21-2012 at 10:20 AM. |
07-21-2012, 10:42 PM | #5 | |
Well trained by Cats
Posts: 30,443
Karma: 58055868
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
|
|
Advert | |
|
07-23-2012, 04:27 AM | #6 |
Junior Member
Posts: 5
Karma: 10
Join Date: Jan 2012
Device: Kindle 4, Powerbook 902
|
Yes, I cannot use sudo on that machine - I don't have elevated rights there.
Will try again and report back. |
07-23-2012, 10:43 AM | #7 |
Well trained by Cats
Posts: 30,443
Karma: 58055868
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
07-27-2012, 10:29 AM | #8 |
Junior Member
Posts: 5
Karma: 10
Join Date: Jan 2012
Device: Kindle 4, Powerbook 902
|
Ah well, my path was incorrect (unusual username)
This command works like a charm: 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(install_dir='/home/djg/nobackup/calibre')" Thanks a lot! |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Replacing (a few) calibre files in a binary install | sciurius | Development | 4 | 09-08-2011 02:47 PM |
Binary install for 0.7.54 no longer working: Ubuntu | lamparty | Calibre | 9 | 04-11-2011 12:02 PM |
Calibre Binary Install Upgrade Failed Today | ksburgess | Calibre | 8 | 03-12-2010 08:35 AM |
ubuntu hardy problem with binary install `Illegal instruction` | lampadena | Calibre | 2 | 02-10-2009 03:57 AM |
Binary Install of calibre | Glenendale | Calibre | 1 | 11-10-2008 01:58 PM |