uuid command not found

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

Introduction

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

uuid: command not found

or when using sudo you get the following error message

sudo: uuid: command not found

Solutions to uuid: command not found

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

In Ubuntu uuid is provided by uuid package.

uuid is:

OSSP uuid is an ISO-C and Perl application programming interface (API) and corresponding command line interface (CLI) for the generation of DCE 1.1 and ISO/IEC 11578:1996 compliant Universally Unique Identifier (UUID). It supports DCE 1.1 variant UUIDs of version 1 (time and node based), version 3 (name based) and version 4 (random number based).

UUIDs are 128 bit numbers which are intended to have a high likelihood of uniqueness over space and time and are computationally difficult to guess. They are globally unique identifiers which can be locally generated without contacting a global registration authority. UUIDs are intended as unique identifiers for both mass tagging objects with an extremely short lifetime and to reliably identifying very persistent objects across a network.

This package contains the Universally Unique Identifier Command-Line Tool.

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

sudo apt-get -y install uuid

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

You can also use apt command to install uuid.

sudo apt -y install uuid

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

sudo aptitude install uuid

Summary

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