How To Install skopeo on Rocky Linux 8

In this tutorial we learn how to install skopeo on Rocky Linux 8. skopeo is Inspect container images and repositories on registries

Introduction

In this tutorial we learn how to install skopeo on Rocky Linux 8.

What is skopeo

Command line utility to inspect images and repositories directly on Docker registries without the need to pull them

We can use yum or dnf to install skopeo on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install skopeo.

Install skopeo on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install skopeo

Install skopeo on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install skopeo using yum by running the following command:

sudo yum -y install skopeo

How To Uninstall skopeo on Rocky Linux 8

To uninstall only the skopeo package we can use the following command:

sudo dnf remove skopeo

skopeo Package Contents on Rocky Linux 8

/usr/bin/skopeo
/usr/lib/.build-id
/usr/lib/.build-id/bf
/usr/lib/.build-id/bf/5b3745300f0a20ee316e4bd1cab56b06e45fa5
/usr/share/bash-completion
/usr/share/bash-completion/completions
/usr/share/bash-completion/completions/skopeo
/usr/share/doc/skopeo
/usr/share/doc/skopeo/README.md
/usr/share/licenses/skopeo
/usr/share/licenses/skopeo/LICENSE
/usr/share/man/man1/skopeo-copy.1.gz
/usr/share/man/man1/skopeo-delete.1.gz
/usr/share/man/man1/skopeo-inspect.1.gz
/usr/share/man/man1/skopeo-list-tags.1.gz
/usr/share/man/man1/skopeo-login.1.gz
/usr/share/man/man1/skopeo-logout.1.gz
/usr/share/man/man1/skopeo-manifest-digest.1.gz
/usr/share/man/man1/skopeo-standalone-sign.1.gz
/usr/share/man/man1/skopeo-standalone-verify.1.gz
/usr/share/man/man1/skopeo-sync.1.gz
/usr/share/man/man1/skopeo.1.gz

References

Summary

In this tutorial we learn how to install skopeo on Rocky Linux 8 using yum and dnf.