raaz command not found

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

Introduction

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

raaz: command not found

or when using sudo you get the following error message

sudo: raaz: command not found

Solutions to raaz: command not found

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

In Ubuntu raaz is provided by haskell-raaz-utils package.

haskell-raaz-utils is:

Raaz uses strong typing to eliminate some common errors that occur in cryptographic settings, such as side channel attacks.

This package implements basic types and cryptographic primitives like hashes, macs etc. Actual network protocols are expected to use this library. Common abstractions, such as packet parsing, are part of this library.

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

sudo apt-get -y install haskell-raaz-utils

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

You can also use apt command to install haskell-raaz-utils.

sudo apt -y install haskell-raaz-utils

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

sudo aptitude install haskell-raaz-utils

Summary

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