Git Product home page Git Product logo

shell_learning's People

Watchers

 avatar  avatar

shell_learning's Issues

brew 命令学习笔记

简介

全名 Homebrew,是一个用于安装 UNIX 软件包的管理工具。多用于在 macOS 中安装一些 UNIX 软件包。

软件包管理工具的作用是提供在一个系统中安装,升级,卸载对应软件的方法。通常这些包管理器还会处理软件依赖问题,可以同时下载软件需要的依赖包。

与 Homebrew 类似,用于操作系统的包管理器有:

  • CentOS 中的 Yum(Yellow dog Updater, Modified)
  • 或者 Debian 中的 APT (Advanced Packaging Tools)

安装,卸载,升级命令

brew install package_name

brew uninstall package_name

brew upgrade package_name

常用命令

# 查看已安装的软件包
brew list

# 查找想要的软件包
brew search [text|/text/]

其他

所有通过 Homebrew 安装的软件包默认都会存放在 /usr/local/Cellar 路径下。同时在 usr/local/bin 文件夹下添加一个 软链接文件 链接到源文件。由于 usr/local/bin 路径已经在系统 PATH 中,因此我们可以在终端里直接使用已安装的软件包命令。

Reference

https://docs.brew.sh/

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.