---
title: 安装Ninja
description: Greenplum使用Ninja作为构建系统，安装Ninja可以帮助您更快地构建和安装Greenplum。
url: "https://www.hikunpeng.com/document/detail/zh/kunpengdbs/ecosystemEnable/Greenplum/kunpenggreenplum_02_0012.html"
---

# 安装Ninja

Greenplum使用Ninja作为构建系统，安装Ninja可以帮助您更快地构建和安装Greenplum。

如果安装的是Greenplum 6.12.1，可以不安装Ninja。

1. 下载Ninja源码。
  1 2 cd /opt/tool wget https://github.com/ninja-build/ninja/archive/refs/tags/v1.10.1.zip

2. 解压并安装Ninja。
  1 2 3 4 unzip v1.10.1.zip cd ninja-1.10.1/ ./configure.py --bootstrap cp ninja /usr/bin/
