How To Install golang-github-deislabs-oras on Fedora 36

In this tutorial we learn how to install golang-github-deislabs-oras in Fedora 36. golang-github-deislabs-oras is OCI Registry As Storage

Introduction

In this tutorial we learn how to install golang-github-deislabs-oras on Fedora 36.

What is golang-github-deislabs-oras

ORAS enables various client libraries to push OCI Artifacts to OCI Conformant registries. ORAS is both a CLI for initial testing and a Go Module to be included with your CLI, enabling a native experience.

We can use yum or dnf to install golang-github-deislabs-oras on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install golang-github-deislabs-oras.

Install golang-github-deislabs-oras on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install golang-github-deislabs-oras using dnf by running the following command:

sudo dnf -y install golang-github-deislabs-oras

Install golang-github-deislabs-oras on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install golang-github-deislabs-oras using yum by running the following command:

sudo yum -y install golang-github-deislabs-oras

How To Uninstall golang-github-deislabs-oras on Fedora 36

To uninstall only the golang-github-deislabs-oras package we can use the following command:

sudo dnf remove golang-github-deislabs-oras

golang-github-deislabs-oras Package Contents on Fedora 36

/usr/bin/oras
/usr/lib/.build-id
/usr/lib/.build-id/d8
/usr/lib/.build-id/d8/7f65fd4542d5b224c8522bffe202ec2bdb5a17
/usr/share/doc/golang-github-deislabs-oras
/usr/share/doc/golang-github-deislabs-oras/BUILDING.md
/usr/share/doc/golang-github-deislabs-oras/README.md
/usr/share/doc/golang-github-deislabs-oras/docs
/usr/share/doc/golang-github-deislabs-oras/docs/README.md
/usr/share/doc/golang-github-deislabs-oras/docs/annotations.md
/usr/share/doc/golang-github-deislabs-oras/docs/config.md
/usr/share/doc/golang-github-deislabs-oras/docs/store.md
/usr/share/doc/golang-github-deislabs-oras/examples
/usr/share/doc/golang-github-deislabs-oras/examples/simple_push_pull.go
/usr/share/doc/golang-github-deislabs-oras/implementors.md
/usr/share/licenses/golang-github-deislabs-oras
/usr/share/licenses/golang-github-deislabs-oras/LICENSE

References

Summary

In this tutorial we learn how to install golang-github-deislabs-oras on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).