How To Install stargz-snapshotter on Fedora 36

In this tutorial we learn how to install stargz-snapshotter in Fedora 36. stargz-snapshotter is Fast container image distribution plugin with lazy pulling

Introduction

In this tutorial we learn how to install stargz-snapshotter on Fedora 36.

What is stargz-snapshotter

Fast container image distribution plugin with lazy pulling

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

Install stargz-snapshotter 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 stargz-snapshotter using dnf by running the following command:

sudo dnf -y install stargz-snapshotter

Install stargz-snapshotter 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 stargz-snapshotter using yum by running the following command:

sudo yum -y install stargz-snapshotter

How To Uninstall stargz-snapshotter on Fedora 36

To uninstall only the stargz-snapshotter package we can use the following command:

sudo dnf remove stargz-snapshotter

stargz-snapshotter Package Contents on Fedora 36

/usr/bin/containerd-stargz-grpc
/usr/bin/ctr-remote
/usr/bin/stargz-store
/usr/lib/.build-id
/usr/lib/.build-id/87
/usr/lib/.build-id/87/d7a31c3b42800851db5a93a42fdf450b9fbe24
/usr/lib/.build-id/8d
/usr/lib/.build-id/8d/b3cf61214f212f9d384f5c09c8eba0ac74a85c
/usr/lib/.build-id/f5
/usr/lib/.build-id/f5/ad4569442f7c5dd983cca5642dfe3e915a8823
/usr/lib/systemd/system/stargz-store.service
/usr/share/doc/stargz-snapshotter
/usr/share/doc/stargz-snapshotter/NOTICE.md
/usr/share/doc/stargz-snapshotter/README.md
/usr/share/doc/stargz-snapshotter/ctr-remote.md
/usr/share/doc/stargz-snapshotter/overview.md
/usr/share/doc/stargz-snapshotter/stargz-estargz.md
/usr/share/doc/stargz-snapshotter/verification.md
/usr/share/licenses/stargz-snapshotter
/usr/share/licenses/stargz-snapshotter/LICENSE

References

Summary

In this tutorial we learn how to install stargz-snapshotter on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).