gpt4 book ai didi

linux - Yum 存储库 - 找不到正确的存储库

转载 作者:塔克拉玛干 更新时间:2023-11-02 23:45:42 25 4
gpt4 key购买 nike

只是想知道是否有人可以帮我找到一个或多个允许我下载以下依赖项的 yum 存储库?我正在尝试将这些项目安装在标准的亚马逊 linux 机器上libopencv-devpython-opencvlibfreetype6-devlibgl1-mesa-dev

谢谢达米安

最佳答案

假设您使用的是 CentOS/RHEL 构建,那么您可以使用标准存储库;

base 存储库提供了所有缺少的依赖项。

Available Packages
Name : opencv-python
Arch : x86_64
Version : 2.0.0
Release : 12.el6
Size : 843 k
Repo : base
Summary : Python bindings for apps which use OpenCV
URL : http://opencv.willowgarage.com/wiki/
License : BSD
Description : This package contains Python bindings for the OpenCV library.

Name : opencv-devel
Arch : x86_64
Version : 2.0.0
Release : 12.el6
Size : 179 k
Repo : base
Summary : Development files for using the OpenCV library
URL : http://opencv.willowgarage.com/wiki/
License : BSD
Description : This package contains the OpenCV C/C++ library and header files, as well as
: documentation. It should be installed if you want to develop programs that
: will use the OpenCV library. You should consider installing opencv-devel-docs
: package.


Name : opencv
Arch : x86_64
Version : 2.0.0
Release : 12.el6
Size : 4.6 M
Repo : base
Summary : Collection of algorithms for computer vision
URL : http://opencv.willowgarage.com/wiki/
License : BSD
Description : OpenCV means Intel® Open Source Computer Vision Library. It is a collection of
: C functions and a few C++ classes that implement some popular Image Processing
: and Computer Vision algorithms.

进去看看; /etc/yum.repos.d/ 看看你是否有一个名为 CentOS-Base.repo 的配置文件,如果你用编辑器打开它并检查所需行有 enabled=1

我安装了所有默认和额外的存储库,但我没有找到任何这些包的匹配项:

libopencv-dev
python-opencv
libfreetype6-dev
libgl1-mesa-dev

如果您需要下载基础 repo 配置,请访问 this link ,选择正确的版本并将 CentOS-Base.repo 文件复制到上面给出的路径。如果您需要其他 repo 协议(protocol)(例如 EPEL),请参阅 this link我为另一个用户回答的问题。

关于linux - Yum 存储库 - 找不到正确的存储库,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46456236/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com