---
title: 使用hpcrunner工具编译安装RStudio
description: "1. 执行以下命令，生效RStudio应用模板。"
url: https://www.hikunpeng.com/document/detail/zh/kunpenghpcs/hpcindapp/prtg-osc/topic_0000002500107773.html
sourcePath: /source/zh/kunpenghpcs/hpcindapp/prtg-osc/topic_0000002500107773.html
indexId: fcf2a9c9a50cd7e8fa73737f0438a8cf0f27d0fc5d7b40d424988172942ffa0569
---
# 使用hpcrunner工具编译安装RStudio

1. 执行以下命令，生效RStudio应用模板。
  ./jarvis -use templates/RStudio/2025.05.1/data.rstudio.server.arm.cpu.hpckit.config

  如结果回显包含如下内容，表示配置文件选择成功：

```
Switch config file to templates/RStudio/2025.05.1/data.rstudio.server.arm.cpu.hpckit.config
Successfully switched. config file saved in file .meta。
```


2. 下载RStudio源码。
  ./jarvis -d

  如已提前手动下载完成，则示例结果回显如下：

```
FILE rstudio-2025.05.1-513.zip already DOWNLOADED
```


  否则，示例结果回显如下：

```
Saving to: ‘/home/hpcrunner/downloads/rstudio-2025.05.1-513.zip’
/home/hpcrun 100%[============================================================>]  56.10M   568KB/s    in 19s
2025-10-13 15:26:44 (546 KB/s) - ‘/home/hpcrunner/downloads/rstudio-2025.05.1-513.zip’ saved [10793380/10793380]
```


  其中/home/hpcrunner/downloads/rstudio-2025.05.1-513.zip即为下载后保存的包路径。

3. 一键安装依赖。
  ./jarvis -dp

  如结果回显包含如下内容，表示依赖安装成功：

```
SUCCESSFULLY EXECUTED AT 2025-10-13 08:51:01, CONGRATULATIONS!!!
```


4. 一键编译。
  ./jarvis -b

  如结果回显包含如下内容，表示一键编译成功：

```
SUCCESSFULLY EXECUTED AT 2025-10-13 08:51:01, CONGRATULATIONS!!!
```
