How To Install runc on Fedora 34
Introduction
In this tutorial we learn how to install runc
on Fedora 34.
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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install runc.
Install runc on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install runc
using dnf
by running the following command:
sudo dnf -y install runc
Install runc on Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
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 Fedora 34
To uninstall only the runc
package we can use the following command:
sudo dnf remove runc
runc Package Contents on Fedora 34
/usr/bin/runc
/usr/lib/.build-id
/usr/lib/.build-id/0e
/usr/lib/.build-id/0e/7120f4ae9b5383eab0afaf2561a01e0a9d31dd
/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
/usr/bin/runc
/usr/lib/.build-id
/usr/lib/.build-id/92
/usr/lib/.build-id/92/45bde6e6364da34f40a2861d789bd3353069fc
/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 Fedora 34 using yum and dnf.