# Prepare the TiUP Offline Component Package
+ Method 1: download offline packages
```
https://download.pingcap.org/tidb-community-server-{version}-linux-{arch}.tar.gz
https://download.pingcap.org/tidb-community-toolkit-{version}-linux-{arch}.tar.gz
```

+ Method 2: Manually pack an offline component package (key steps are shown below)
```
~!@// Install the TiUP tool  on a machine that has access to the Internet @!~
curl --proto '=https' --tlsv1.2 -sSf https://tiup-mirrors.pingcap.com/install.sh | sh

~!@// Pull the needed components on a machine that has access to the Internet @!~
tiup mirror clone tidb-community-server-${version}-linux-amd64 ${version} --os=linux --arch=amd64

~!@//Pack the component package @!~
tar czvf tidb-community-server-${version}-linux-amd64.tar.gz tidb-community-server-${version}-linux-amd64

```

---------------------------------------------------------------------------------------------
Method 1: Download the offline binary packages (TiUP offline package included) of the target TiDB version using the following links. You need to download both the server and toolkit packages. {version} in the link indicates the version number of TiDB and {arch} indicates the architecture of the system, which can be amd64 or arm64. For example, the download link for v7.5.0 in the amd64 architecture is https://download.pingcap.org/tidb-community-toolkit-v7.5.0-linux-amd64.tar.gz.

In method 2, `tiup mirror clone` command creates a directory named `tidb-community-server-${version}-linux-amd64` in the current directory, which contains the component package necessary for starting a cluster.

The zipped file `tidb-community-server-${version}-linux-amd64.tar.gz` is an independent offline environment package.

It is also possible to customize the offline mirror. You may find details at https://docs.pingcap.com/tidb/stable/production-deployment-using-tiup. 




