美文网首页
Homebrew-获取安装的软件路径

Homebrew-获取安装的软件路径

作者: ruizuo007 | 来源:发表于2019-07-15 13:49 被阅读0次
    1. 通过brew install安装应用最先是放在/usr/local/Cellar/目录下。
    2. 有些应用会自动创建软链接放在/usr/bin或者/usr/sbin,同时也会将整个文件夹放在/usr/local
    3. 可以使用 brew list <packagename> (比如 brew list opencv@3)确定安装位置。
    $ brew list opencv@3
    /usr/local/Cellar/opencv@3/3.4.5_2/bin/opencv_annotation
    /usr/local/Cellar/opencv@3/3.4.5_2/bin/opencv_createsamples
    /usr/local/Cellar/opencv@3/3.4.5_2/bin/opencv_interactive-calibration
    /usr/local/Cellar/opencv@3/3.4.5_2/bin/opencv_traincascade
    /usr/local/Cellar/opencv@3/3.4.5_2/bin/opencv_version
    /usr/local/Cellar/opencv@3/3.4.5_2/bin/opencv_visualisation
    /usr/local/Cellar/opencv@3/3.4.5_2/bin/opencv_waldboost_detector
    /usr/local/Cellar/opencv@3/3.4.5_2/bin/setup_vars_opencv3.sh
    /usr/local/Cellar/opencv@3/3.4.5_2/include/opencv/ (11 files)
    /usr/local/Cellar/opencv@3/3.4.5_2/include/opencv2/ (389 files)
    /usr/local/Cellar/opencv@3/3.4.5_2/lib/libopencv_aruco.3.4.5.dylib
    /usr/local/Cellar/opencv@3/3.4.5_2/lib/libopencv_bgsegm.3.4.5.dylib
    /usr/local/Cellar/opencv@3/3.4.5_2/lib/libopencv_bioinspired.3.4.5.dylib
    /usr/local/Cellar/opencv@3/3.4.5_2/lib/libopencv_calib3d.3.4.5.dylib
    /usr/local/Cellar/opencv@3/3.4.5_2/lib/libopencv_ccalib.3.4.5.dylib
    /usr/local/Cellar/opencv@3/3.4.5_2/lib/libopencv_core.3.4.5.dylib
    /usr/local/Cellar/opencv@3/3.4.5_2/lib/libopencv_datasets.3.4.5.dylib
    /usr/local/Cellar/opencv@3/3.4.5_2/lib/libopencv_dnn.3.4.5.dylib
    /usr/local/Cellar/opencv@3/3.4.5_2/lib/libopencv_dnn_objdetect.3.4.5.dylib
    /usr/local/Cellar/opencv@3/3.4.5_2/lib/libopencv_dpm.3.4.5.dylib
    /usr/local/Cellar/opencv@3/3.4.5_2/lib/libopencv_face.3.4.5.dylib
    /usr/local/Cellar/opencv@3/3.4.5_2/lib/libopencv_features2d.3.4.5.dylib
    /usr/local/Cellar/opencv@3/3.4.5_2/lib/libopencv_flann.3.4.5.dylib
    /usr/local/Cellar/opencv@3/3.4.5_2/lib/libopencv_freetype.3.4.5.dylib
    /usr/local/Cellar/opencv@3/3.4.5_2/lib/libopencv_fuzzy.3.4.5.dylib
    /usr/local/Cellar/opencv@3/3.4.5_2/lib/libopencv_hfs.3.4.5.dylib
    /usr/local/Cellar/opencv@3/3.4.5_2/lib/libopencv_highgui.3.4.5.dylib
    /usr/local/Cellar/opencv@3/3.4.5_2/lib/libopencv_img_hash.3.4.5.dylib
    /usr/local/Cellar/opencv@3/3.4.5_2/lib/libopencv_imgcodecs.3.4.5.dylib
    /usr/local/Cellar/opencv@3/3.4.5_2/lib/libopencv_imgproc.3.4.5.dylib
    /usr/local/Cellar/opencv@3/3.4.5_2/lib/libopencv_line_descriptor.3.4.5.dylib
    /usr/local/Cellar/opencv@3/3.4.5_2/lib/libopencv_ml.3.4.5.dylib
    /usr/local/Cellar/opencv@3/3.4.5_2/lib/libopencv_objdetect.3.4.5.dylib
    /usr/local/Cellar/opencv@3/3.4.5_2/lib/libopencv_optflow.3.4.5.dylib
    /usr/local/Cellar/opencv@3/3.4.5_2/lib/libopencv_phase_unwrapping.3.4.5.dylib
    /usr/local/Cellar/opencv@3/3.4.5_2/lib/libopencv_photo.3.4.5.dylib
    /usr/local/Cellar/opencv@3/3.4.5_2/lib/libopencv_plot.3.4.5.dylib
    /usr/local/Cellar/opencv@3/3.4.5_2/lib/libopencv_reg.3.4.5.dylib
    /usr/local/Cellar/opencv@3/3.4.5_2/lib/libopencv_rgbd.3.4.5.dylib
    /usr/local/Cellar/opencv@3/3.4.5_2/lib/libopencv_saliency.3.4.5.dylib
    /usr/local/Cellar/opencv@3/3.4.5_2/lib/libopencv_sfm.3.4.5.dylib
    /usr/local/Cellar/opencv@3/3.4.5_2/lib/libopencv_shape.3.4.5.dylib
    /usr/local/Cellar/opencv@3/3.4.5_2/lib/libopencv_stereo.3.4.5.dylib
    /usr/local/Cellar/opencv@3/3.4.5_2/lib/libopencv_stitching.3.4.5.dylib
    /usr/local/Cellar/opencv@3/3.4.5_2/lib/libopencv_structured_light.3.4.5.dylib
    /usr/local/Cellar/opencv@3/3.4.5_2/lib/libopencv_superres.3.4.5.dylib
    /usr/local/Cellar/opencv@3/3.4.5_2/lib/libopencv_surface_matching.3.4.5.dylib
    /usr/local/Cellar/opencv@3/3.4.5_2/lib/libopencv_tracking.3.4.5.dylib
    /usr/local/Cellar/opencv@3/3.4.5_2/lib/libopencv_video.3.4.5.dylib
    /usr/local/Cellar/opencv@3/3.4.5_2/lib/libopencv_videoio.3.4.5.dylib
    /usr/local/Cellar/opencv@3/3.4.5_2/lib/libopencv_videostab.3.4.5.dylib
    /usr/local/Cellar/opencv@3/3.4.5_2/lib/libopencv_xfeatures2d.3.4.5.dylib
    /usr/local/Cellar/opencv@3/3.4.5_2/lib/libopencv_ximgproc.3.4.5.dylib
    /usr/local/Cellar/opencv@3/3.4.5_2/lib/libopencv_xobjdetect.3.4.5.dylib
    /usr/local/Cellar/opencv@3/3.4.5_2/lib/libopencv_xphoto.3.4.5.dylib
    /usr/local/Cellar/opencv@3/3.4.5_2/lib/pkgconfig/opencv.pc
    /usr/local/Cellar/opencv@3/3.4.5_2/lib/python2.7/ (6 files)
    /usr/local/Cellar/opencv@3/3.4.5_2/lib/python3.7/ (6 files)
    /usr/local/Cellar/opencv@3/3.4.5_2/lib/ (145 other files)
    /usr/local/Cellar/opencv@3/3.4.5_2/share/OpenCV/ (45 files)
    

    相关文章

      网友评论

          本文标题:Homebrew-获取安装的软件路径

          本文链接:https://www.haomeiwen.com/subject/yzhnkctx.html