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
2022-02-17 20:44:52 +00:00

52 lines
1005 B
Plaintext

// Module included in the following assemblies:
//
// * serverless/cli_tools/installing-kn.adoc
:_content-type: PROCEDURE
[id="installing-cli-linux-rpm_{context}"]
= Installing the Knative CLI for Linux using an RPM
For {op-system-base-full}, you can install the `kn` CLI as an RPM if you have an active {product-title} subscription on your Red Hat account.
// no prereqs?
.Procedure
// better explanation of what each of these commands do?
. 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
----