mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-06 06:46:26 +01:00
68 lines
1.4 KiB
Plaintext
68 lines
1.4 KiB
Plaintext
// Module included in the following assemblies:
|
|
//
|
|
// virt/install/virt-enabling-virtctl.adoc
|
|
|
|
[id="virt-installing-virtctl-client_{context}"]
|
|
= Installing the virtctl client
|
|
|
|
Extract and install the `virtctl` client after downloading from the appropriate location for your operating system.
|
|
|
|
.Prerequisites
|
|
|
|
* You must have downloaded the `virtctl` client.
|
|
|
|
.Procedure
|
|
|
|
* For Linux:
|
|
|
|
. Extract the tarball. The following CLI command extracts it into the same directory as the tarball:
|
|
+
|
|
[source,terminal]
|
|
----
|
|
$ tar -xvf <virtctl-version-distribution.arch>.tar.gz
|
|
----
|
|
|
|
. Navigate the extracted folder hierachy and run the following command to make the `virtctl` binary executable:
|
|
+
|
|
[source,terminal]
|
|
----
|
|
$ chmod +x <virtctl-file-name>
|
|
----
|
|
|
|
. Move the `virtctl` binary to a directory in your `PATH` environment variable.
|
|
|
|
. To check your path, run the following command:
|
|
+
|
|
[source,terminal]
|
|
----
|
|
$ echo $PATH
|
|
----
|
|
|
|
* For Windows users:
|
|
|
|
. Unpack and unzip the archive.
|
|
|
|
. Navigate the extracted folder hierarchy and double-click the `virtctl` executable file to install the client.
|
|
|
|
. Move the `virtctl` binary to a directory in your `PATH` environment variable.
|
|
|
|
. To check your path, run the following command:
|
|
+
|
|
[source,terminal]
|
|
----
|
|
C:\> path
|
|
----
|
|
|
|
* For macOS users:
|
|
|
|
. Unpack and unzip the archive.
|
|
|
|
. Move the `virtctl` binary to a directory in your `PATH` environment variable.
|
|
|
|
. To check your path, run the following command:
|
|
+
|
|
[source,terminal]
|
|
----
|
|
echo $PATH
|
|
----
|