lit2epub command not found

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

Introduction

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

lit2epub: command not found

or when using sudo you get the following error message

sudo: lit2epub: command not found

Solutions to lit2epub: command not found

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

In Ubuntu lit2epub is provided by epub-utils package.

epub-utils is:

The ebook-tools provide ways for accessing and converting different ebook file formats.

This package contains the following utilities:

  • einfo : provides some basic info about an EPUB document, such as metadata, reading order, etc.
  • lit2epub : converts a LIT file to EPUB (using convlit and zip).

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

sudo apt-get -y install epub-utils

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

You can also use apt command to install epub-utils.

sudo apt -y install epub-utils

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

sudo aptitude install epub-utils

Summary

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