uniname command not found

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

Introduction

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

uniname: command not found

or when using sudo you get the following error message

sudo: uniname: command not found

Solutions to uniname: command not found

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

In Ubuntu uniname is provided by uniutils package.

uniutils is:

Useful tools when working with Unicode files when one doesn’t know the writing system, doesn’t have the necessary font, needs to inspect invisible characters, needs to find out whether characters have been combined or in what order they occur, or needs statistics on which characters occur.

  • uniname defaults to printing the character offset of each character, its byte offset, its hex code value, its encoding, the glyph itself, and its name. It may also be used to validate UTF-8 input.
  • unidesc reports the character ranges to which different portions of the text belong. It can also be used to identify Unicode encodings (e.g. UTF-16be) flagged by magic numbers.
  • unihist generates a histogram of the characters in its input.
  • ExplicateUTF8 is intended for debugging or for learning about Unicode. It determines and explains the validity of a sequence of bytes as a UTF8 encoding.
  • utf8lookup provides a handy way to look up Unicode characters from the command line.
  • unireverse reverse each line of UTF-8 input character-by-character.

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

sudo apt-get -y install uniutils

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

You can also use apt command to install uniutils.

sudo apt -y install uniutils

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

sudo aptitude install uniutils

Summary

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