> For the complete documentation index, see [llms.txt](https://cocktailcloud.gitbook.io/cube/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cocktailcloud.gitbook.io/cube/overview/download.md).

# Download CUBE

## CUBE 다운로드

CUBE는 다음과 같이 4가지 설치 패키지 다운로드를 제공합니다:

* 온라인 설치 패키지
* 칵테일 포함 온라인 설치 패키지
* 폐쇄망 설치 패키지
* 칵테일 포함 폐쇄망 설치 패키지

이전 이미 다운로드된 파일들이 존재한다면 새로운 파일로 Overwrite 됩니다.

```
$ curl -sfL https://cube.k3.acornsoft.io/download-cubectl | ACCOUNT=user PASSWD=pwd VERSION=v1.0.4 sh -
```

*CUBE는 상용 제품입니다. 다운로드 계정 발급은* [*서비스 데스크*](mailto:cocktail@acornsoft.io)*로 문의바랍니다.*

### 환경 변수

* ACCOUNT : 다운로드 계정명
* PASSWD : 다운로드 계정 비밀번호
* VERSION *(optional)*
  * CUBE 버전
  * 예 : v1.2.0, v1.0.3, v1.0.4
  * Default: 최신 버전
* AIRGAP *(optional)*
  * 폐쇄망 설치 패키지를 다운로드 합니다.
  * 설치 대상 노드들의 리눅스 배포판 이름을 입력합니다.
  * 중복선택 가능합니다. (예: AIRGAP=ubuntu2204,rocky9,rhel8)
  * 지원 리눅스 배포판 (12종) : ubuntu2004 | ubuntu2204 | ubuntu2304 | ubuntu2310 | centos7 | centos8 (stream) | centos9 (stream) | rocky8 | rocky9 | rhel7 | rhel8 | rhel9
* NODE\_ARCH *(optional)*
  * 설치할 노드들의 CPU 아키텍처를 입력합니다.
  * 중복선택 가능하며 amd64(x86\_64), arm64 2종을 지원합니다.
  * Default: amd64
  * *since v1.2.0*
* K8S *(optional)*
  * 폐쇄망 설치 패키지의 쿠버네티스 버전을 입력합니다.
  * `v1.29` 와 같이 마이너 버전까지 입력한 경우 CUBE에서 지원하는 latest 버전 다운로드합니다.
  * `v1.29.2` 와 같이 패치 버전까지 입력한 경우 특정 버전 다운로드 가능합니다.
  * 지원 쿠버네티스 버전은 \* [Supported Versions](/cube/overview/supported-versions.md) 을 참조하세요.
* OS *(optional)*
  * `cubectl` 런타임 OS을 입력합니다.
  * linux, darwin 2종을 지원합니다.
  * Default: 현재 OS
* ARCH *(optional)*
  * `cubectl` 런타임 OS CPU 아키텍처를 입력합니다.
  * amd64(x86\_64), arm64 2종을 지원합니다.
  * Default: amd64(x86\_64)
* COCKTAIL *(optional)*
  * 입력된 버전의 칵테일을 포함한 패키지를 다운로드합니다.
  * 예 : v4.7.4
* CCP *(optional)*
  * 입력된 버전의 `ccp` 파일(칵테일 설치 CLI)을 포함한 패키지를 다운로드합니다.
  * 예 : v1.1.1, v1.0
  * Default: 최신 버전

### 예제

* 온라인 패키지 다운로드

```
$ curl -sfL https://cube.k3.acornsoft.io/download-cubectl | ACCOUNT=<user> PASSWD=<password> sh -
$ curl -sfL https://cube.k3.acornsoft.io/download-cubectl | ACCOUNT=<user> PASSWD=<password> VERSION=v1.2.0 sh -
$ curl -sfL https://cube.k3.acornsoft.io/download-cubectl | ACCOUNT=<user> PASSWD=<password> VERSION=v1.2.0 OS=linux sh -
$ curl -sfL https://cube.k3.acornsoft.io/download-cubectl | ACCOUNT=<user> PASSWD=<password> VERSION=v1.2.0 OS=linux ARCH=amd64 sh -
```

* 폐쇄망 패키지 다운로드

```
$ curl -sfL https://cube.k3.acornsoft.io/download-cubectl | ACCOUNT=<user> PASSWD=<password> AIRGAP=ubuntu2204 sh -
$ curl -sfL https://cube.k3.acornsoft.io/download-cubectl | ACCOUNT=<user> PASSWD=<password> AIRGAP=ubuntu2204 VERSION=v1.2.0 sh -
$ curl -sfL https://cube.k3.acornsoft.io/download-cubectl | ACCOUNT=<user> PASSWD=<password> AIRGAP=ubuntu2204 VERSION=v1.2.0 OS=linux sh -
$ curl -sfL https://cube.k3.acornsoft.io/download-cubectl | ACCOUNT=<user> PASSWD=<password> AIRGAP=ubuntu2204 VERSION=v1.2.0 OS=linux ARCH=amd64 sh -
$ curl -sfL https://cube.k3.acornsoft.io/download-cubectl | ACCOUNT=<user> PASSWD=<password> AIRGAP=ubuntu2204 VERSION=v1.2.0 OS=linux ARCH=amd64 K8S=v1.29 sh -

# 멀티 배포판
$ curl -sfL https://cube.k3.acornsoft.io/download-cubectl | ACCOUNT=<user> PASSWD=<password> AIRGAP=ubuntu2204,rocky9,rhel8 sh -
$ curl -sfL https://cube.k3.acornsoft.io/download-cubectl | ACCOUNT=<user> PASSWD=<password> AIRGAP=ubuntu2204,rocky9,rhel8 ARCH=amd64,arm64  sh -
```

* 칵테일 포함 온라인 패키지 다운로드

```
$ curl -sfL https://cube.k3.acornsoft.io/download-cubectl | ACCOUNT=<user> PASSWD=<password> COCKTAIL=v4.7.4 sh -
$ curl -sfL https://cube.k3.acornsoft.io/download-cubectl | ACCOUNT=<user> PASSWD=<password> COCKTAIL=v4.7.4 VERSION=v1.0.0 sh -
$ curl -sfL https://cube.k3.acornsoft.io/download-cubectl | ACCOUNT=<user> PASSWD=<password> COCKTAIL=v4.7.4 VERSION=v1.0.0 OS=linux sh -
$ curl -sfL https://cube.k3.acornsoft.io/download-cubectl | ACCOUNT=<user> PASSWD=<password> COCKTAIL=v4.7.4 VERSION=v1.0.0 OS=linux ARCH=amd64 sh -
```

* 칵테일 포함 폐쇄망 패키지 다운로드

```
$ curl -sfL https://cube.k3.acornsoft.io/download-cubectl | ACCOUNT=<user> PASSWD=<password> AIRGAP=ubuntu2204 COCKTAIL=v4.7.4 sh -
$ curl -sfL https://cube.k3.acornsoft.io/download-cubectl | ACCOUNT=<user> PASSWD=<password> AIRGAP=ubuntu2204 COCKTAIL=v4.7.4 VERSION=v1.0.0 sh -
$ curl -sfL https://cube.k3.acornsoft.io/download-cubectl | ACCOUNT=<user> PASSWD=<password> AIRGAP=ubuntu2204 COCKTAIL=v4.7.4 VERSION=v1.0.0 OS=linux sh -
$ curl -sfL https://cube.k3.acornsoft.io/download-cubectl | ACCOUNT=<user> PASSWD=<password> AIRGAP=ubuntu2204 COCKTAIL=v4.7.4 VERSION=v1.0.0 OS=linux ARCH=amd64 sh -
$ curl -sfL https://cube.k3.acornsoft.io/download-cubectl | ACCOUNT=<user> PASSWD=<password> AIRGAP=ubuntu2204 COCKTAIL=v4.7.4 VERSION=v1.0.0 OS=linux ARCH=amd64 K8S=v1.24 sh -
```

### 패키지 디렉토리 구조

* 온라인 설치 패키지 (예)

```
cubectl-v1.2.0/
├── bin/
│   └── cubectl
├── config/
│   ├── cubectl.toml
│   └── default/                                                     : ansible-runner private-data dir. (default)/
│       ├── env/
│       ├── inventory/
│       └── certs/
├── archive/
│   ├── runtime/
│   │   ├── regctl-linux-amd64.tgz                                   : since v1.2.0
│   │   └── harbor-offline-installer-v2.7.4-linux-amd64.tgz          : since v1.2.0
│   │   └── podman-v4.4.2-linux-amd64.tgz                            : since v1.2.2
│   └── cubectl-image-v1.2.0.tgz                                     : for bastion architecture since v1.2.0
├── extends/
│   └── addon/
│       ├── charts/
│       │   ├── index.yaml                                           : runtime 생성
│       │   ├── kore-board-0.5.5.tgz
│       │   ├── csi-driver-nfs-v4.8.0.tgz
│       │   └── gpu-operator-v23.9.0.tgz
│       ├── images/
│       │   └── gpu-operator/
│       │       └── gpu-operator-v23.9.0-ubuntu2004.tgz
│       └── profile/
│           ├── kore-board/
│           │   └── default.yaml
│           ├── kore-board_20240101000000/                           : 백업시 생성
│           │   └── default.yaml
│           ├── csi-driver-nfs/
│           │   └── default.yaml
│           └── gpu-operator/
│               ├── default.yaml
│               ├── ubuntu.yaml
│               └── redhat.yaml
├── logs/
└── LICENSE.txt
```

* 칵테일 포함 온라인 설치 패키지 (예)

```
cubectl-v1.2.0/
├── bin/
│   ├── ccp
│   └── cubectl
├── config/
├── archive/
│   ├── runtime/
│   │   ├── regctl-linux-amd64.tgz
│   │   └── harbor-offline-installer-v2.7.4-linux-amd64.tgz
│   │   └── podman-v4.4.2-linux-amd64.tgz
│   ├── cocktail-v4.7.4-R20230419.tgz
│   └── cubectl-image-v1.2.0.tgz
├── extends/
│   └── addon/
│       ├── charts/
│       │   ├── index.yaml                                           : runtime 생성
│       │   ├── kore-board-0.5.5.tgz
│       │   ├── csi-driver-nfs-v4.8.0.tgz
│       │   └── gpu-operator-v23.9.0.tgz
│       ├── images/
│       │   └── gpu-operator/
│       │       └── gpu-operator-v23.9.0-ubuntu2004.tgz
│       └── profile/
│           ├── kore-board/
│           │   └── default.yaml
│           ├── kore-board_20240101000000/                           : 백업시 생성
│           │   └── default.yaml
│           ├── csi-driver-nfs/
│           │   └── default.yaml
│           └── gpu-operator/
│               ├── default.yaml
│               ├── ubuntu.yaml
│               └── redhat.yaml
├── logs/
└── LICENSE.txt
```

* 폐쇄망 설치 패키지 (예)

```
cubectl-v1.2.0/
├── bin/
│   └── cubectl
├── config/
├── archive/
│   ├── v1.29/
│   │   ├── harbor-images-v1.25.9.tgz
│   │   ├── k8s-images-v1.29.3.tgz
│   │   └── k8s-repo-ubuntu2204-amd64-v1.29.3.tgz
│   ├── runtime/
│   │   ├── calicoctl-v3.28.0-linux-amd64.tar.gz
│   │   ├── etcd-v3.5.7-linux-amd64.tar.gz
│   │   ├── harbor-offline-installer-v2.7.4-linux-amd64.tgz
│   │   ├── helm-v3.10.3-linux-amd64.tar.gz
│   │   ├── regctl-linux-amd64.tgz
│   │   └── podman-v4.4.2-linux-amd64.tgz
│   ├── local-repo-ubuntu2204-amd64-R240528.tgz
│   ├── extend-images.tgz
│   ├── util-images.tgz
│   └── cubectl-image-v1.2.0.tgz
├── extends/
│   └── addon/
│       ├── charts/
│       │   ├── index.yaml                                           : runtime 생성
│       │   ├── kore-board-0.5.5.tgz
│       │   ├── csi-driver-nfs-v4.8.0.tgz
│       │   └── gpu-operator-v23.9.0.tgz
│       ├── images/
│       │   └── gpu-operator/
│       │       └── gpu-operator-v23.9.0-ubuntu2004.tgz
│       └── profile/
│           ├── kore-board/
│           │   └── default.yaml
│           ├── kore-board_20240101000000/                           : 백업시 생성
│           │   └── default.yaml
│           ├── csi-driver-nfs/
│           │   └── default.yaml
│           └── gpu-operator/
│               ├── default.yaml
│               ├── ubuntu.yaml
│               └── redhat.yaml
├── logs/
└── LICENSE.txt
```

* 칵테일 포함 폐쇄망 설치 패키지 (예)

```
cubectl-v1.2.0/
├── bin/
│   ├── cubectl
│   └── ccp
├── config/
├── archive/
│   ├── v1.29/
│   │   ├── harbor-images-v1.25.9.tgz
│   │   ├── k8s-images-v1.29.3.tgz
│   │   └── k8s-repo-ubuntu2204-amd64-v1.29.3.tgz
│   ├── runtime/
│   │   ├── calicoctl-v3.28.0-linux-amd64.tar.gz
│   │   ├── etcd-v3.5.7-linux-amd64.tar.gz
│   │   ├── harbor-offline-installer-v2.7.4-linux-amd64.tgz
│   │   ├── helm-v3.10.3-linux-amd64.tar.gz
│   │   ├── regctl-linux-amd64.tgz
│   │   └── podman-v4.4.2-linux-amd64.tgz
│   ├── cocktail-v4.8.0-R2024011603.tgz
│   ├── local-repo-ubuntu2204-amd64-R240528.tgz
│   ├── extend-images.tgz
│   ├── util-images.tgz
│   └── cubectl-image-v1.2.0.tgz
├── extends/
│   └── addon/
│       ├── charts/
│       │   ├── index.yaml                                           : runtime 생성
│       │   ├── kore-board-0.5.5.tgz
│       │   ├── csi-driver-nfs-v4.8.0.tgz
│       │   └── gpu-operator-v23.9.0.tgz
│       ├── images/
│       │   └── gpu-operator/
│       │       └── gpu-operator-v23.9.0-ubuntu2004.tgz
│       └── profile/
│           ├── kore-board/
│           │   └── default.yaml
│           ├── kore-board_20240101000000/                           : 백업시 생성
│           │   └── default.yaml
│           ├── csi-driver-nfs/
│           │   └── default.yaml
│           └── gpu-operator/
│               ├── default.yaml
│               ├── ubuntu.yaml
│               └── redhat.yaml
├── logs/
└── LICENSE.txt
```

## 칵테일 다운로드

칵테일 tar 파일과 `ccp` CLI 가 현재 디렉토리에 다운로드 됩니다.

```
$ curl -sfL https://cube.k3.acornsoft.io/download-cocktail | ACCOUNT=user PASSWD=pwd sh -
```

### 환경 변수

* ACCOUNT : 다운로드 계정명
* PASSWD : 다운로드 계정 비밀번호
* VERSION *(optional)*
  * 칵테일 버전
  * 예 : v4.7.4, v4.7, v4.7.4\_R202308
  * Default: 최신 버전
* CCP *(optional)*
  * `ccp` 버전
  * 예 : v1.1.1, v1.0
  * Default: 최신 버전

### 예제

```
$ curl -sfL https://cube.k3.acornsoft.io/download-cocktail | ACCOUNT=<user> PASSWD=<password> sh -
$ curl -sfL https://cube.k3.acornsoft.io/download-cocktail | ACCOUNT=<user> PASSWD=<password> VERSION=v4.7.4 sh -
$ curl -sfL https://cube.k3.acornsoft.io/download-cocktail | ACCOUNT=<user> PASSWD=<password> VERSION=v4.7.4 CCP=v1.0.6 sh -
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://cocktailcloud.gitbook.io/cube/overview/download.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
