我要评分
获取效率
正确性
完整性
易理解

Installing Ninja

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

  4. Make Ninja take effect.
    1
    cp ninja /usr/bin
    
  5. View the version.
    ninja --version