gpt4 book ai didi

macos - 如何获得端口的所有可用安装选项?

转载 作者:行者123 更新时间:2023-12-02 16:57:14 25 4
gpt4 key购买 nike

基本上,我想安装opencv,以便它使用tbb和boost完整的源代码。但是我想我需要知道如何显示端口的所有可用安装选项。 (安装选项在端口名称后的意思是“+ sth”,这是您的称呼方式吗?)

在我的具体示例中,我的行开始于

sudo port install opencv +tbb +python27

但我不确定如何获得开发者和提升选项...

任何想法如何显示选项?还是专门针对opencv?
谢谢!

最佳答案

除了Barnabas Szabolcs提供的答案外,我还发现 info 命令有助于查找有关端口的更多信息,包括可用的变体,还提供了其他有趣的信息,例如软件许可证,维护人员等

port info opencv

上面的命令产生以下输出(从当前端口文件开始):
opencv @3.0.0_1 (graphics, science)
Variants: contrib, dc1394, debug, eigen, java, opencl, openni,
python27, python34, qt4, qt5, tbb, universal, vtk

Description: OpenCV is a library that is mainly aimed at real time
computer vision. Some example areas would be
Human-Computer Interaction (HCI), Object Identification,
Segmentation and Recognition, Face Recognition, Gesture
Recognition, Motion Tracking, Ego Motion, Motion
Understanding, Structure From Motion (SFM), and Mobile
Robotics.
Homepage: http://opencv.org

Extract Dependencies: unzip
Build Dependencies: cmake, pkgconfig
Library Dependencies: zlib, bzip2, libpng, jpeg, jasper, tiff, ilmbase, openexr,
ffmpeg
Platforms: darwin
License: BSD
Maintainers: stromnov@macports.org, openmaintainer@macports.org

关于macos - 如何获得端口的所有可用安装选项?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13424305/

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