---
title: 安装NETCDF-fortran
description: "1. 使用PuTTY工具，以root用户登录服务器。"
url: https://www.hikunpeng.com/document/detail/zh/kunpenghpcs/hpcindapp/prtg-osc/kunpengabinit_02_0009.html
sourcePath: /source/zh/kunpenghpcs/hpcindapp/prtg-osc/kunpengabinit_02_0009.html
indexId: 9edc0e3296bc8efc2c6177c146545726683ea9714eb80f5f1f1ae9c4a182e8a168
---
# 安装NETCDF-fortran

#### 操作步骤

1. 使用PuTTY工具，以root用户登录服务器。
2. 执行以下命令解压NETCDF-fortran安装包。

```
tar -zxvf netcdf-fortran-4.4.5.tar.gz
```


3. 执行以下命令进入解压后的目录。

```
cd netcdf-fortran-4.4.5
```


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

```
./configure --prefix=
/path/to/NETCDF
--build=aarch64-linux --disable-static --enable-shared --enable-parallel-tests --enable-large-file-tests --enable-largefile
```


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

```
make -j
make install
```
