---
title: 安装Boost
description: 1. 使用PuTTY工具，以root用户登录服务器。
url: "https://www.hikunpeng.com/document/detail/zh/kunpenghpcs/hpcindapp/prtg-osc/kunpengdelly_02_0005.html"
---

# 安装Boost

#### 操作步骤

1. 使用PuTTY工具，以root用户登录服务器。
2. 使用SFTP工具将“boost_1_66_0.tar.gz”安装包上传至服务器“/path/to/DELLY”目录。
3. 执行以下命令，解压Boost安装包并进入解压目录。

```
cd
/path/to
/DELLY
&& tar -zxf boost_1_66_0.tar.gz && cd boost_1_66_0
```


4. 执行以下命令，进行配置。

```
./bootstrap.sh --prefix=
/path/to
/DELLY/
boost
```


5. 执行以下命令，进行编译安装。

```
./b2 -j16 && ./b2 install
```
