|
1 | 1 | // Module included in the following assemblies: |
2 | 2 | // |
3 | | -// virt/install/virt-installing-virtctl.adoc |
| 3 | +// virt/install/virt-enabling-virtctl.adoc |
4 | 4 |
|
5 | 5 | [id="virt-installing-virtctl-client_{context}"] |
6 | 6 | = Installing the virtctl client |
7 | 7 |
|
8 | | -Install the `virtctl` client from the `kubevirt-virtctl` package. |
| 8 | +Extract and install the `virtctl` client after downloading from the appropriate location for your operating system. |
| 9 | + |
| 10 | +.Prerequisites |
| 11 | + |
| 12 | +* You must have downloaded the `virtctl` client. |
9 | 13 |
|
10 | 14 | .Procedure |
11 | 15 |
|
12 | | -* Install the `kubevirt-virtctl` package: |
| 16 | +* For Linux: |
| 17 | + |
| 18 | +. Extract the tarball. The following CLI command extracts it into the same directory as the tarball: |
| 19 | ++ |
| 20 | +[source,terminal] |
| 21 | +---- |
| 22 | +$ tar -xvf <virtctl-version-distribution.arch>.tar.gz |
| 23 | +---- |
| 24 | + |
| 25 | +. Navigate the extracted folder hierachy and run the following command to make the `virtctl` binary executable: |
| 26 | ++ |
| 27 | +[source,terminal] |
| 28 | +---- |
| 29 | +$ chmod +x <virtctl-file-name> |
| 30 | +---- |
| 31 | + |
| 32 | +. Move the `virtctl` binary to a directory in your `PATH` environment variable. |
| 33 | + |
| 34 | +. To check your path, run the following command: |
| 35 | ++ |
| 36 | +[source,terminal] |
| 37 | +---- |
| 38 | +$ echo $PATH |
| 39 | +---- |
| 40 | + |
| 41 | +* For Windows users: |
| 42 | + |
| 43 | +. Unpack and unzip the archive. |
| 44 | + |
| 45 | +. Navigate the extracted folder hierarchy and double-click the `virtctl` executable file to install the client. |
| 46 | + |
| 47 | +. Move the `virtctl` binary to a directory in your `PATH` environment variable. |
| 48 | + |
| 49 | +. To check your path, run the following command: |
| 50 | ++ |
| 51 | +[source,terminal] |
| 52 | +---- |
| 53 | +C:\> path |
| 54 | +---- |
| 55 | + |
| 56 | +* For macOS users: |
| 57 | + |
| 58 | +. Unpack and unzip the archive. |
| 59 | + |
| 60 | +. Move the `virtctl` binary to a directory in your `PATH` environment variable. |
| 61 | + |
| 62 | +. To check your path, run the following command: |
13 | 63 | + |
14 | 64 | [source,terminal] |
15 | 65 | ---- |
16 | | -# yum install kubevirt-virtctl |
| 66 | +echo $PATH |
17 | 67 | ---- |
0 commit comments