44

How do I convert epub to mobi using Calibre for this?

68

Yes, Calibre package contains a script called ebook-convert to convert ebooks between formats. You can install Calibre with

sudo apt-get install calibre

then

ebook-convert "book.epub" "book.mobi"

NB: Other formats are supported, too:

ebook-convert "book.azw3" "book.pdf"
  • FWIW, the quotes aren't strictly necessary. – kjprice Feb 3 '16 at 3:29
  • 2
    To get an epub->pdf conversion to run, I had to make have xvfb installed and then run the ebook-convert command using: xvfb-run ebook-convert book.epub book.pdf – Raymond Yee Mar 2 '16 at 23:33
6

I found a script for batch conversion:

for book in *.epub; do echo "Converting $book"; ebook-convert "$book" "$(basename "$book" .epub).mobi"; done

It works good for me, but the process is pretty slow.

1

You can also do this without installing Calibre. This would be really handy on a Chromebook, for example. There is a free, online site called EPUB Converter that will let you upload the epub and it lets you then download the mobi equivalent.

0

Yes, you can use Calibre for epub to mobi conversion. They declare mobi as supported output format in their FAQ.

I don’t think there’s anything Ubuntu-specific in the question, so it would probably belong somewhere else.

  • I think this question is relevant because I wasn't aware that Calibre was available for Ubuntu. For some reason I thought it was like Scrivener and Windows/Mac only. – m0j0 Feb 4 '15 at 2:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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