jp2a command not found

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

Introduction

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

jp2a: command not found

or when using sudo you get the following error message

sudo: jp2a: command not found

Solutions to jp2a: command not found

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

In Ubuntu jp2a is provided by jp2a package.

jp2a is:

Small utility that converts JPEG images to ASCII (text) using libjpeg. It also can convert PNG pictures to ASCII via libpng. jp2a is very flexible. It can use ANSI colors and html in output.

jp2a can also download and convert images from Internet via command line.

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

sudo apt-get -y install jp2a

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

You can also use apt command to install jp2a.

sudo apt -y install jp2a

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

sudo aptitude install jp2a

Summary

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