key2raw command not found

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

Introduction

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

key2raw: command not found

or when using sudo you get the following error message

sudo: key2raw: command not found

Solutions to key2raw: command not found

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

In Ubuntu key2raw is provided by libetonyek-tools package.

libetonyek-tools is:

libetonyek is a library and a set of tools for reading and converting Apple Keynote presentations. The library tries to extract the most important parts of version 2 format of Keynote (version 1 is not supported yet, but it should be in the future).

This package contains key2text, key2raw and key2xhtml for “converting” Keynote presentations in those respective formats.

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

sudo apt-get -y install libetonyek-tools

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

You can also use apt command to install libetonyek-tools.

sudo apt -y install libetonyek-tools

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

sudo aptitude install libetonyek-tools

Summary

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