Skip to content

Commit 93c44d4

Browse files
authored
Merge pull request #32298 from boczkowska/odoYumInstall
Installing odo with yum
2 parents 5309c63 + 252b9b7 commit 93c44d4

File tree

1 file changed

+53
-0
lines changed

1 file changed

+53
-0
lines changed

modules/developer-cli-odo-installing-odo-on-linux.adoc

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,56 @@
4141
----
4242
# chmod +x /usr/local/bin/odo
4343
----
44+
45+
== Installing with yum on {op-system-base-full}
46+
47+
.Procedure
48+
49+
. Register with Red Hat Subscription Manager:
50+
+
51+
[source,terminal]
52+
----
53+
# subscription-manager register
54+
----
55+
56+
. Pull the latest subscription data:
57+
+
58+
[source,terminal]
59+
----
60+
# subscription-manager refresh
61+
----
62+
63+
. List the available subscriptions:
64+
+
65+
[source,terminal]
66+
----
67+
# subscription-manager list --available --matches '*OpenShift Developer Tools and Services*'
68+
----
69+
70+
. 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:
71+
+
72+
[source,terminal]
73+
----
74+
# subscription-manager attach --pool=<pool_id>
75+
----
76+
77+
. Enable the repositories required by `{odo-title}`:
78+
+
79+
[source,terminal]
80+
----
81+
# subscription-manager repos --enable="ocp-tools-4.7-for-rhel-8-x86_64-rpms"
82+
----
83+
84+
. Install the `{odo-title}` package:
85+
+
86+
[source,terminal]
87+
----
88+
# yum install odo
89+
----
90+
91+
. Verify that `{odo-title}` is now available on your system:
92+
+
93+
[source,terminal]
94+
----
95+
$ odo version
96+
----

0 commit comments

Comments
 (0)