zoukankan      html  css  js  c++  java
  • Homebrew macOS缺失包管理器

      Homebrew,是一款macOS系统上的安装包管理器,主要用来安装系统未预安装的包。

      一、安装方法:

    /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
    

      二、使用方法:

    $ brew install wget
    

      三、说明:

      (一)Homebrew 会将软件包安装到独立目录,并将其文件软链接至 /usr/local 。

    $ cd /usr/local
    $ find Cellar
    Cellar/wget/1.16.1
    Cellar/wget/1.16.1/bin/wget
    Cellar/wget/1.16.1/share/man/man1/wget.1
    
    $ ls -l bin
    bin/wget -> ../Cellar/wget/1.16.1/bin/wget
    

      (二)Homebrew 不会将文件安装到它本身目录之外,所以您可将 Homebrew 安装到任意位置。

  • 相关阅读:
    JavaWeb——Servlet开发3
    8.3.3
    8.3.2
    8.3
    8.2
    8.1
    7.3.9
    7.3.8.3
    7.3.8.2
    7.3.8.1
  • 原文地址:https://www.cnblogs.com/filotos/p/macOS.html
Copyright © 2011-2022 走看看