How To Install origin on Fedora 34
Introduction
In this tutorial we learn how to install origin
on Fedora 34.
What is origin
OpenShift Origin is a distribution of Kubernetes optimized for enterprise application development and deployment. OpenShift Origin adds developer and operational centric tools on top of Kubernetes to enable rapid application development, easy deployment and scaling, and long-term lifecycle maintenance for small and large teams and applications. It provides a secure and multi-tenant configuration for Kubernetes allowing you to safely host many different applications and workloads on a unified cluster.
We can use yum
or dnf
to install origin
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install origin.
Install origin 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 origin
using dnf
by running the following command:
sudo dnf -y install origin
Install origin 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 origin
using yum
by running the following command:
sudo yum -y install origin
How To Uninstall origin on Fedora 34
To uninstall only the origin
package we can use the following command:
sudo dnf remove origin
origin Package Contents on Fedora 34
/etc/bash_completion.d/openshift
/etc/origin
/etc/origin/.config_managed
/usr/bin/openshift
/usr/lib/.build-id
/usr/lib/.build-id/43
/usr/lib/.build-id/43/3e317a7f7a4f3cb69f1bb54d0b37d6d613cdac
/usr/share/doc/origin
/usr/share/doc/origin/README.md
/usr/share/licenses/origin
/usr/share/licenses/origin/LICENSE
/usr/share/man/man1/openshift-completion.1.gz
/usr/share/man/man1/openshift-options.1.gz
/usr/share/man/man1/openshift-start-etcd.1.gz
/usr/share/man/man1/openshift-start-master-api.1.gz
/usr/share/man/man1/openshift-start-master-controllers.1.gz
/usr/share/man/man1/openshift-start-master.1.gz
/usr/share/man/man1/openshift-start-network.1.gz
/usr/share/man/man1/openshift-start.1.gz
/usr/share/man/man1/openshift-version.1.gz
/usr/share/man/man1/openshift.1.gz
/var/lib/origin
References
Summary
In this tutorial we learn how to install origin
on Fedora 34 using yum and dnf.