Installing Ninja
- Download the Ninja installation package.
1 2
cd /home wget https://github.com/ninja-build/ninja/archive/v1.10.0.zip --no-check-certificate
- Decompress the installation package.
1unzip v1.10.0.zip - Compile Ninja.
1 2
cd ninja-1.10.0 ./configure.py --bootstrap

- Make Ninja take effect.
1cp ninja /usr/bin
- View the version.
ninja --version
Parent topic: Configuring the Compilation Environment