How To Install runc on Rocky Linux 8
Introduction
In this tutorial we learn how to install runc
on Rocky Linux 8.
What is runc
The runc command can be used to start containers which are packaged in accordance with the Open Container Initiative’s specifications, and to manage containers running under runc.
We can use yum
or dnf
to install runc
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install runc.
Install runc 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 runc
using dnf
by running the following command:
sudo dnf -y install runc
Install runc 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 runc
using yum
by running the following command:
sudo yum -y install runc
How To Uninstall runc on Rocky Linux 8
To uninstall only the runc
package we can use the following command:
sudo dnf remove runc
runc Package Contents on Rocky Linux 8
/usr/bin/runc
/usr/lib/.build-id
/usr/lib/.build-id/12
/usr/lib/.build-id/12/1a8c439851e86c3f3a3e0901fcb1d57be5d286
/usr/share/bash-completion/completions/runc
/usr/share/doc/runc
/usr/share/doc/runc/CONTRIBUTING.md
/usr/share/doc/runc/MAINTAINERS_GUIDE.md
/usr/share/doc/runc/PRINCIPLES.md
/usr/share/doc/runc/README.md
/usr/share/licenses/runc
/usr/share/licenses/runc/LICENSE
/usr/share/man/man8/runc-checkpoint.8.gz
/usr/share/man/man8/runc-create.8.gz
/usr/share/man/man8/runc-delete.8.gz
/usr/share/man/man8/runc-events.8.gz
/usr/share/man/man8/runc-exec.8.gz
/usr/share/man/man8/runc-kill.8.gz
/usr/share/man/man8/runc-list.8.gz
/usr/share/man/man8/runc-pause.8.gz
/usr/share/man/man8/runc-ps.8.gz
/usr/share/man/man8/runc-restore.8.gz
/usr/share/man/man8/runc-resume.8.gz
/usr/share/man/man8/runc-run.8.gz
/usr/share/man/man8/runc-spec.8.gz
/usr/share/man/man8/runc-start.8.gz
/usr/share/man/man8/runc-state.8.gz
/usr/share/man/man8/runc-update.8.gz
/usr/share/man/man8/runc.8.gz
References
Summary
In this tutorial we learn how to install runc
on Rocky Linux 8 using yum and dnf.