Installing build dependencies
时间: 2023-09-26 15:11:07 浏览: 97
dependencies
To install build dependencies on a Linux system, you can use the package manager for your distribution. For example, on Debian or Ubuntu, you can use the following command:
```
sudo apt-get build-dep package_name
```
Replace `package_name` with the name of the package you want to build. This will install all the necessary build dependencies for that package.
On other distributions like Fedora or CentOS, you can use the following command:
```
sudo dnf builddep package_name
```
Again, replace `package_name` with the name of the package you want to build.
阅读全文