Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Im trying to install Calibre e-book manager on my computer, i'm a newbie to linux and i dont know where the "installation directory" is....Here are the commands that they have in order to install it...

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()"

"One can also avoid having the installer script ask for the installation directory by specifying it in the install command itself, as shown below:"

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(install_dir='/path/to/your/library')"

Source

share|improve this question

2 Answers 2

Try installing this way, I did. Just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command(s) below:

sudo add-apt-repository ppa:n-muench/calibre
sudo apt-get update
sudo apt-get install calibre

Once done, click on bre in dash, and follow the screens.

calibre welcome wizard

calibre welcome wizard

Source:LinuxG

share|improve this answer
    
Nice Answer. Note that this PPA doesn't have 1.0 backported just yet. IIRC, 1.0 is available in the Saucy repositories, however. –  Kevin Bowen Aug 28 '13 at 7:45
    
For Precise, the PPA has been changed to ppa:n-muench/calibre2 to reduce the clutter. –  Hippo Sep 29 '13 at 4:23

The installation directory can be wherever you choose to place it. By default, Calibre will install the library into the directory ~/Calibre Library which is the same as /home/azure241/Calibre Library or whatever the username is on your system.

So, for example, if you did indeed want to install the Calibre library in the directory /home/azure241/Calibre Library, your installation script would look like this:

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(install_dir='/home/azure241/Calibre\ Library/')"

Note that you need a backslash \ between Calibre and Library in the script to account for the white space in the directory name.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.