How To Install manifest-tool on CentOS 7

In this tutorial we learn how to install manifest-tool on CentOS 7. manifest-tool is A command line tool used for creating manifest list objects

Introduction

In this tutorial we learn how to install manifest-tool on CentOS 7.

What is manifest-tool

This tool was mainly created for the purpose of viewing, creating, and pushing the new manifests list object type in the Docker registry. Manifest lists are defined in the v2.2 image specification and exist mainly for the purpose of supporting multi-architecture and/or multi-platform images within a Docker registry.

We can use yum or dnf to install manifest-tool on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install manifest-tool.

Install manifest-tool on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install manifest-tool using yum by running the following command:

sudo yum -y install manifest-tool

Install manifest-tool on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install manifest-tool using dnf by running the following command:

sudo dnf -y install manifest-tool

How To Uninstall manifest-tool on CentOS 7

To uninstall only the manifest-tool package we can use the following command:

sudo dnf remove manifest-tool

References

Summary

In this tutorial we learn how to install manifest-tool on CentOS 7 using yum and dnf.