---
title: 安装D编译器
description: "1. 使用PuTTY工具，以root用户登录服务器。"
url: https://www.hikunpeng.com/document/detail/zh/kunpenghpcs/hpcindapp/prtg-osc/kunpengmsmc_02_0007.html
sourcePath: /source/zh/kunpenghpcs/hpcindapp/prtg-osc/kunpengmsmc_02_0007.html
indexId: 39c96938302792c889c5ee58bbc77f78cbc671cff15dd940ce80f18518e4bd3c66
---
# 安装D编译器

#### 操作步骤

1. 使用PuTTY工具，以root用户登录服务器。
2. 执行以下命令安装D编译器。

```
curl -fsS https://dlang.org/install.sh | bash -s ldc
```
