1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 21:46:22 +01:00
Files
openshift-docs/modules/serverless-installing-cli-linux-rpm.adoc

40 lines
815 B
Plaintext

[id="installing-cli-linux-rpm_{context}"]
= Installing the Knative CLI for Linux using an RPM
For {op-system-base-full}, you can install the Knative CLI (`kn`) as an RPM if you have an active {product-title} subscription on your Red Hat account.
.Procedure
. Enter the command:
+
[source,terminal]
----
# subscription-manager register
----
. Enter the command:
+
[source,terminal]
----
# subscription-manager refresh
----
. Enter the command:
+
[source,terminal]
----
# subscription-manager attach --pool=<pool_id> <1>
----
+
<1> Pool ID for an active {product-title} subscription
. Enter the command:
+
[source,terminal]
----
# subscription-manager repos --enable="openshift-serverless-1-for-rhel-8-x86_64-rpms"
----
. Enter the command:
+
[source,terminal]
----
# yum install openshift-serverless-clients
----