<button class="button button-with-icon cloud-select-dropdown__button button-primary" aria-haspopup="true">Version 1.16 </button>

- [Latest](https://docs.cloud.google.com/anthos/clusters/docs/bare-metal/latest/downloads)
- [Version 1.16](https://docs.cloud.google.com/anthos/clusters/docs/bare-metal/1.16/downloads.md.txt)
- [Earlier versions (unsupported)](https://docs.cloud.google.com/anthos/clusters/docs/bare-metal/1.16/getting-support.md.txt#version-support)

<br />

This page provides commands to download and verify the following
Google Distributed Cloud artifacts:

- `bmctl` command-line tool.
- Distributed Cloud offline container images package.

## Log in

Log in with any Google Account:

```bash
gcloud auth login
```

## Download `bmctl`

`bmctl` is the command-line tool for Google Distributed Cloud that simplifies cluster creation and management. For more information about what you can do with `bmctl`, see [`bmctl` tool](https://docs.cloud.google.com/anthos/clusters/docs/bare-metal/1.16/reference/bmctl.md.txt).

From your Linux admin workstation, use the following commands to download
`bmctl` and make it executable:

```bash
gcloud storage cp gs://anthos-baremetal-release/bmctl/VERSION/linux-amd64/bmctl .
chmod +x ./bmctl
```

Replace `VERSION` with the version of
Google Distributed Cloud you want to install or upgrade your clusters to. The
latest available patch version is 1.16.8.

## Verify `bmctl` using `openssl`

Verify the `bmctl` binary against the public key using `openssl`, where
`VERSION` is the file's version:

```bash
gcloud storage cp gs://anthos-baremetal-release/bmctl/VERSION/linux-amd64/bmctl.1.sig .
openssl dgst -verify - -signature ./bmctl.1.sig ./bmctl <<'EOF'
---BEGIN PUBLIC KEY---
MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEWZrGCUaJJr1H8a36sG4UUoXvlXvZ
wQfk16sxprI2gOJ2vFFggdq3ixF2h4qNBt0kI7ciDhgpwS8t+/960IsIgw==
---END PUBLIC KEY---
EOF
```

Expected output of this command is `Verified OK`.

## Download the images package

You only need the images package if you plan on setting up a
[registry mirror](https://docs.cloud.google.com/anthos/clusters/docs/bare-metal/1.16/installing/registry-mirror.md.txt). The package provides
all of the container images used by Google Distributed Cloud for the specified
version. Make sure the package you download is the same version as the `bmctl`
download.

From your Linux admin workstation, run the following command to download the package:

```bash
gcloud storage cp gs://anthos-baremetal-release/bmctl/VERSION/linux-amd64/bmpackages_VERSION.tar.xz .
```

## Verify the images package using `openssl`

Verify the images package binary against the public key using `openssl`, where
`VERSION` is the file's version:

```bash
gcloud storage cp gs://anthos-baremetal-release/bmctl/VERSION/linux-amd64/bmpackages_VERSION.tar.xz.1.sig .
openssl dgst -verify - -signature ./bmpackages_VERSION.tar.xz.1.sig ./bmpackages_VERSION.tar.xz <<'EOF'
---BEGIN PUBLIC KEY---
MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEWZrGCUaJJr1H8a36sG4UUoXvlXvZ
wQfk16sxprI2gOJ2vFFggdq3ixF2h4qNBt0kI7ciDhgpwS8t+/960IsIgw==
---END PUBLIC KEY---
EOF
```

Expected output of this command is `Verified OK`.