No package python-devel available.
时间: 2023-08-12 14:09:01 浏览: 45
如果在执行 `sudo yum install python-devel` 命令时提示 `No package python-devel available`,可能是因为该软件包没有被包含在您的系统软件源中。
您可以尝试通过更新软件源来解决此问题。执行以下命令:
```
sudo yum update
```
然后再次尝试安装Python开发包:
```
sudo yum install python-devel
```
如果更新软件源后仍然找不到Python开发包,则可能需要手动添加软件源。您可以在互联网上查找适合您的CentOS版本的软件源,并按照说明进行手动添加。
希望这可以帮助您解决问题。
相关问题
No package openvas-libraries-devel available.
This message means that the package "openvas-libraries-devel" is not available in the current package repositories on your system.
You can try updating your package repositories and trying again with the following command:
```
sudo yum update
```
If that doesn't work, you can try searching for the package name to see if it exists in a different repository. You can do this with the following command:
```
sudo yum search openvas-libraries-devel
```
If the package is not found, it may not be available for your system or distribution. In that case, you may need to search for alternative solutions or contact the package maintainers for assistance.
oracle linux yum -y install libmicrohttpd-devel No package libmicrohttpd-devel available.
The error message "No package libmicrohttpd-devel available" indicates that the package is not available in the repositories that are currently enabled on your system. You can try the following steps to resolve the issue:
1. Check if the package is available in any other repository by running the following command:
```
yum search libmicrohttpd-devel
```
2. If the package is found, enable the repository that contains it. You can do this by editing the file `/etc/yum.repos.d/redhat.repo` or `/etc/yum.repos.d/oraclelinux.repo` and uncommenting the appropriate lines for the repository.
3. If the package is not found in any repository, you can download and install it manually from a trusted source. You can search for the package on the internet and download it in RPM format. Then, install it using the following command:
```
rpm -ivh <package-name>.rpm
```
I hope this helps! Let me know if you have any further questions.