Skip to content

Commit

Permalink
Correct download APIs
Browse files Browse the repository at this point in the history
Signed-off-by: Ian Maddaus <[email protected]>
  • Loading branch information
IanMadd committed Dec 11, 2024
1 parent 99af41a commit 54deaaf
Showing 1 changed file with 39 additions and 40 deletions.
79 changes: 39 additions & 40 deletions docs-chef-io/content/workstation/install_workstation.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ aliases = ["/install_workstation.html", "/install_dk.html", "/workstation_window

For general information about downloading Chef products, see the [Chef download documentation](/download/).

For supported Chef Workstation versions, see the [Chef Workstation release notes](/release_notes_workstation/) or use the [Chef download APIs](/download).

## Supported Platforms

The following table lists the commercially supported platforms and versions for Chef Workstation:
Expand Down Expand Up @@ -49,10 +51,8 @@ Additional Chef Workstation App Requirements:

The Chef Workstation installer must run as a privileged user.

Chef Workstation installs to `/opt/chef-workstation/` on macOS / Linux
and `C:\opscode\chef-workstation\` on Windows. These file locations
help avoid interference between these components and other
applications that may be running on the target machine.
Chef Workstation installs to `/opt/chef-workstation/` on macOS and Linux, and `C:\opscode\chef-workstation\` on Windows.
These file locations help avoid interference between these components and other applications that may be running on the target machine.

### macOS Install

Expand Down Expand Up @@ -93,60 +93,59 @@ msiexec /q /i MsiPath ADDLOCAL=ALL REMOVE=ChefWSApp

### Linux

1. Visit the [Chef Downloads page](https://www.chef.io/downloads) or download the appropriate package for your distribution:

- Red Hat Enterprise Linux
You can use [Chef's download APIs](/download) or a package manager to install Chef Workstation on Linux.

```bash
wget https://chefdownload-commercial.chef.io/files/stable/chef-workstation/<WORKSTATION_VERSION>/el/<RHEL_VERSION>/chef-workstation-<WORKSTATION_VERSION>-1.el<RHEL_VERSION>.x86_64.rpm
```
#### Download API

For example:
- To use the [Chef download APIs](/download) to download Chef Workstation:

```sh
wget https://chefdownload-commercial.chef.io/files/stable/chef-workstation/24.4.1064/el/8/chef-workstation-24.4.1064-1.el8.x86_64.rpm
```
```bash
wget https://chefdownload-commercial.chef.io/stable/chef-workstation/download?p=<PLATFORM>&pv=<PLATFORM_VERSION>&m=<ARCHITECTURE>&v=<WORKSTATION_VERSION>&license_id=<LICENSE_ID>
```

Replace:

- Debian/Ubuntu
- `<PLATFORM>` with the platform you want to run Chef Workstation on. For example, `ubuntu` or `el`.
- `<PLATFORM_VERSION>` with the version of the platform you want to run Chef Workstation on.
- `<ARCHITECTURE>` with the architecture that Chef Workstation on. For example, `x86_64`.
- `<WORKSTATION_VERSION>` with the version of Chef Workstation you want to download.
- `<LICENSE_ID>` with your [Chef license ID](/licensing).

``` bash
wget https://chefdownload-commercial.chef.io/files/stable/chef-workstation/<WORKSTATION_VERSION>/ubuntu/<UBUNTU_VERSION>/chef-workstation_<WORKSTATION_VERSION>-1_amd64.deb
```
For example, run the following to download Chef Workstation 24.8.1068 on Red Hat Enterprise Linux 9 running on x86-64 architecture:

For example:
```sh
wget https://chefdownload-commercial.chef.io/stable/chef-workstation/download?p=el&pv=9&m=x86_64&v=24.4.1068&license_id=<LICENSE_ID>
```

```sh
wget https://chefdownload-commercial.chef.io/files/stable/chef-workstation/24.4.1064/ubuntu/20.04/chef-workstation_24.4.1064-1_amd64.deb
```
See the [Chef download API documentation](/download) and [Chef licensing documentation](/licensing) for more information.

1. Use your distribution's package manager to install Chef Workstation:
#### Package manager

- Red Hat Enterprise Linux:
You can use Yum or Dpkg package managers to install Chef Workstation.

``` bash
yum localinstall chef-workstation-<WORKSTATION_VERSION>-1.el<RHEL_VERSION>.x86_64.rpm
```
- To download Chef Workstation using Yum on Red Hat Enterprise Linux:

For example:
``` bash
yum localinstall chef-workstation-<WORKSTATION_VERSION>-1.el<RHEL_VERSION>.x86_64.rpm
```

``` bash
yum localinstall chef-workstation-24.4.1064-1.el8.x86_64.rpm
```
For example:

- Debian/Ubuntu:
``` bash
yum localinstall chef-workstation-24.4.1064-1.el8.x86_64.rpm
```

``` bash
dpkg -i chef-workstation_<WORKSTATION_VERSION>-1_amd64.deb
```
- To download Chef Workstation using Dpkg on Ubuntu or Debian:

For example:
``` bash
dpkg -i chef-workstation_<WORKSTATION_VERSION>-1_amd64.deb
```

```sh
dpkg -i chef-workstation_24.4.1064-1_amd64.deb
```
For example:

See the [Chef Workstation release notes](/release_notes_workstation/) or the [Omnitruck API](https://omnitruck.chef.io/stable/chef-workstation/versions/all) for supported version numbers.
```sh
dpkg -i chef-workstation_24.4.1064-1_amd64.deb
```

## Verify the Installation

Expand Down

0 comments on commit 54deaaf

Please sign in to comment.