1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00
Files
openshift-docs/modules/developer-cli-odo-installing-odo-on-linux-rpm.adoc
2023-10-30 10:13:25 -04:00

58 lines
1.2 KiB
Plaintext

:_mod-docs-content-type: PROCEDURE
[id="installing-odo-on-linux-rpm_{context}"]
= Installing {odo-title} on {op-system-base-full} using an RPM
For {op-system-base-full}, you can install the `{odo-title}` CLI as an RPM.
.Procedure
. Register with Red Hat Subscription Manager:
+
[source,terminal]
----
# subscription-manager register
----
. Pull the latest subscription data:
+
[source,terminal]
----
# subscription-manager refresh
----
. List the available subscriptions:
+
[source,terminal]
----
# subscription-manager list --available --matches '*OpenShift Developer Tools and Services*'
----
. In the output of the previous command, find the `Pool ID` field for your {product-title} subscription and attach the subscription to the registered system:
+
[source,terminal]
----
# subscription-manager attach --pool=<pool_id>
----
. Enable the repositories required by `{odo-title}`:
+
[source,terminal,subs="attributes+"]
----
# subscription-manager repos --enable="ocp-tools-{product-version}-for-rhel-8-x86_64-rpms"
----
. Install the `{odo-title}` package:
+
[source,terminal]
----
# yum install odo
----
. Verify that `{odo-title}` is now available on your system:
+
[source,terminal]
----
$ odo version
----