How To Install cri-o on Fedora 36

In this tutorial we learn how to install cri-o in Fedora 36. cri-o is Open Container Initiative-based implementation of Kubernetes Container Runtime Interface

Introduction

In this tutorial we learn how to install cri-o on Fedora 36.

What is cri-o

Open Container Initiative-based implementation of Kubernetes Container Runtime Interface.

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

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

sudo dnf -y install cri-o

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

sudo yum -y install cri-o

How To Uninstall cri-o on Fedora 36

To uninstall only the cri-o package we can use the following command:

sudo dnf remove cri-o

cri-o Package Contents on Fedora 36

/etc/cni/net.d/100-crio-bridge.conf
/etc/cni/net.d/200-loopback.conf
/etc/crictl.yaml
/etc/crio
/etc/crio/crio.conf
/usr/bin/crio
/usr/bin/crio-status
/usr/bin/pinns
/usr/lib/.build-id
/usr/lib/.build-id/3e
/usr/lib/.build-id/3e/f9ddc550c3ef5ab6c86ef5c2c1e566b49be153
/usr/lib/.build-id/7b
/usr/lib/.build-id/7b/a09ce157b324e4207c8165cad934f1e412ec38
/usr/lib/.build-id/c2
/usr/lib/.build-id/c2/11bba840f52db930ffff9dcccc25516e418091
/usr/lib/systemd/system/crio-wipe.service
/usr/lib/systemd/system/crio.service
/usr/libexec/crio
/usr/share/bash-completion/completions/crio
/usr/share/bash-completion/completions/crio-status
/usr/share/containers
/usr/share/containers/oci
/usr/share/containers/oci/hooks.d
/usr/share/doc/cri-o
/usr/share/doc/cri-o/ADOPTERS.md
/usr/share/doc/cri-o/CONTRIBUTING.md
/usr/share/doc/cri-o/README.md
/usr/share/doc/cri-o/awesome.md
/usr/share/doc/cri-o/code-of-conduct.md
/usr/share/doc/cri-o/docs
/usr/share/doc/cri-o/docs/crio-status.8
/usr/share/doc/cri-o/docs/crio-status.8.md
/usr/share/doc/cri-o/docs/crio.8
/usr/share/doc/cri-o/docs/crio.8.md
/usr/share/doc/cri-o/docs/crio.conf.5
/usr/share/doc/cri-o/docs/crio.conf.5.md
/usr/share/doc/cri-o/docs/crio.conf.d.5
/usr/share/doc/cri-o/docs/crio.conf.d.5.md
/usr/share/doc/cri-o/transfer.md
/usr/share/doc/cri-o/tutorial.md
/usr/share/fish/completions/crio-status.fish
/usr/share/fish/completions/crio.fish
/usr/share/licenses/cri-o
/usr/share/licenses/cri-o/LICENSE
/usr/share/man/man5/crio.conf.5.gz
/usr/share/man/man5/crio.conf.d.5.gz
/usr/share/man/man8/crio-status.8.gz
/usr/share/man/man8/crio.8.gz
/usr/share/oci-umount
/usr/share/oci-umount/oci-umount.d
/usr/share/oci-umount/oci-umount.d/crio-umount.conf
/usr/share/zsh/site-functions/_crio
/usr/share/zsh/site-functions/_crio-status
/var/lib/containers

References

Summary

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