linux更新ninja版本
时间: 2023-11-04 19:05:02 浏览: 137
To update the ninja version on Linux, you can follow the below steps:
1. Open the terminal and check the current ninja version installed on your system by running the command:
ninja --version
2. Download the latest ninja release from the official website:
https://github.com/ninja-build/ninja/releases
3. Extract the downloaded file using the command:
tar -xvf ninja-*.*.*.tar.gz
4. Navigate to the extracted directory:
cd ninja-*.*.*
5. Build and install the latest ninja version using the following commands:
./configure.py --bootstrap
sudo cp ninja /usr/local/bin/
6. Verify the installation by running the command:
ninja --version
This should update the ninja version on your Linux system to the latest release.
阅读全文
相关推荐


















