umoci command not found

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

Introduction

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

umoci: command not found

or when using sudo you get the following error message

sudo: umoci: command not found

Solutions to umoci: command not found

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

In Ubuntu umoci is provided by umoci package.

umoci is:

umoci creates and modifies Open Container images. See the official website (https://umo.ci/) for more accessible documentation about how to use umoci.

umoci intends to be a complete manipulation tool for OCI images (https://github.com/opencontainers/image-spec). In particular, it should be seen as a more end-user-focused version of the oci-image-tools provided by the OCI (https://github.com/opencontainers/image-tools). The hope is that all of this tooling will eventually be merged with the upstream repository, so that it is always kept up-to-date by the Open Container Initiative community.

umoci provides tooling that can abstract all of the internals of the OCI specification into a single CLI interface.

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

sudo apt-get -y install umoci

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

You can also use apt command to install umoci.

sudo apt -y install umoci

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

sudo aptitude install umoci

Summary

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