mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 21:46:22 +01:00
21 lines
691 B
Plaintext
21 lines
691 B
Plaintext
// Module is included in the following assemblies:
|
|
//
|
|
// serverless/knative-client.adoc
|
|
|
|
[id="installing-cli-linux-rpm_{context}"]
|
|
= Installing the `kn` CLI for Linux using an RPM
|
|
|
|
For Red Hat Enterprise Linux (RHEL), you can install `kn` as an RPM if you have an active {product-title} subscription on your Red Hat account.
|
|
|
|
|
|
.Procedure
|
|
* Use the following command to install `kn`:
|
|
----
|
|
# subscription-manager register
|
|
# subscription-manager refresh
|
|
# subscription-manager attach --pool=<pool_id> <1>
|
|
# subscription-manager repos --enable="openshift-serverless-1-for-rhel-8-x86_64-rpms"
|
|
# yum install openshift-serverless-clients
|
|
----
|
|
<1> Pool ID for an active {product-title} subscription
|