ebook command not found

In this troubleshooting guide we learn how to fix ebook command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

ebook: command not found

or when using sudo you get the following error message

sudo: ebook: command not found

Solutions to ebook: command not found

How To Fix ebook: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu ebook is provided by libebook-tools-perl package.

libebook-tools-perl is:

EBook-Tools contains a library and a command-line tool for unpacking, creating, correcting, and repacking electronic books.

Current native unpacking support is limited to PalmDoc, EReader, IMP, and Mobipocket without DRM protection, though MS Reader (lit.) and Mobipocket DRM is supported by automatic use of ConvertLIT and MobiDeDRM if available. The metadata correction tools are quite extensive, however. For more details, see the POD information on EBook::Tools and EBook::Tools::Unpack.

To fix this problem, we can install more using the command below.

sudo apt-get -y install libebook-tools-perl

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install libebook-tools-perl.

sudo apt -y install libebook-tools-perl

Or if you have aptitude installed you can use the following command.

sudo aptitude install libebook-tools-perl

Summary

In this tutorial we learn how to fix ebook command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.