uni2ascii command not found

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

Introduction

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

uni2ascii: command not found

or when using sudo you get the following error message

sudo: uni2ascii: command not found

Solutions to uni2ascii: command not found

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

In Ubuntu uni2ascii is provided by uni2ascii package.

uni2ascii is:

This package provides conversion in both directions between UTF-8 Unicode and a variety of 7-bit ASCII equivalents, including HTML numeric character references, various escapes and hexadecimal. Such ASCII equivalents are useful when including Unicode text in program source, when debugging, and when entering text into web programs that can handle the Unicode character set but are not 8-bit safe.

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

sudo apt-get -y install uni2ascii

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

You can also use apt command to install uni2ascii.

sudo apt -y install uni2ascii

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

sudo aptitude install uni2ascii

Summary

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