oci-image-tool command not found

In this troubleshooting guide we learn how to fix oci-image-tool command not found error message

Introduction

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

oci-image-tool: command not found

or when using sudo you get the following error message

sudo: oci-image-tool: command not found

Solutions to oci-image-tool: command not found

How To Fix oci-image-tool: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu oci-image-tool is provided by oci-image-tool package.

oci-image-tool is:

oci-image-tool is a collection of tools for working with the OCI image format specification (https://github.com/opencontainers/image-spec).

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

sudo apt-get -y install oci-image-tool

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

You can also use apt command to install oci-image-tool.

sudo apt -y install oci-image-tool

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

sudo aptitude install oci-image-tool

Summary

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