Homebrew-macos Missing Package Manager (BREW)

Source: Internet
Author: User
Tags install brew install homebrew

Introduction

Brew is also called homebrew, is the software package management tool on Mac OSX, can install the software conveniently in Mac or uninstall the software, only need a simple command, very convenient

"Problems encountered"

Before really understanding the package management tools, has been out of chaos, what to download, the source is not the same, there are from Git, from the installation package download, but also from Baidu, and so on, I remember the most memorable is about MySQL database learning, I downloaded a lot of different paths different sources of database, and later led to Terminal software management confusion, configuration files are a mess;

This time it is for the small program Trace export tool to install ADB, the best way is to install brew, but the installation process of various errors, the best way is to re-do the system and then the package management

And that's what caused this deep study.

Website

https://brew.sh/

Here's a detailed information about brew

"Install homebrew"

" $ (curl-fssl https://raw.githubusercontent.com/Homebrew/install/master/install) "

"Introduction to installation directory"

$ cd/usr/local$ find cellarcellar/wget/1.16.1Cellar/wget/1.16.1/bin/wgetcellar/wget/ 1.16.1/share/man/man1/wget.1-l binbin/wget. /cellar/wget/1.16.1/bin/wget

Homebrew will install the package into a standalone directory and soft-link its files to the/usr/local
Homebrew does not install files outside of its own directory, so you can install homebrew in any location

"Basic Command"

  1. View Brew Version
    Brew-v
  2. Installation formula
    Brew Install Formula Example: Brew Install wget
  3. Unload formula
    Brew Uninstall Formula example: Brew Uninstall wget
  4. Search for formulas
    Brew search/formula//wge*/
    * Indicates fuzzy search
  5. View installed software
    Brew List
  6. Update Brew
    Brew Update
  7. Open the Brew official website with your browser
    Brew Home
  8. displaying software information
    Brew Info
  9. Show Package dependencies
    Brew Deps
  10. Additional Help information
    Example Usage:  brew search [TEXT|/regex/]  Brew (info|home|  Options) [FORMULA ...]  Brew Install FORMULA  ... Brew Update  Brew upgrade [FORMULA ...]  Brew Uninstall FORMULA  ... Brew list [FORMULA ...] Troubleshooting: Brew  config  brew Doctor  -VD formuladevelopers:  brew Create [URL [ --no-Fetch]]  brew edit [FORMULA ...]  https://docs.brew.sh/formula-cookbook.htmlfurther help:  Mans brew  Brew help [COMMAND]  Brew Home

"Package Manager"

A Package Manager or package management system is a collection of software tools that automate the process of installing, upgrading, configuring, and removing software packages in a manner consistent with the computer's operating system, which typically maintains a database software dependency and version information, preventing software mismatches and inability to track.

Homebrew-macos Missing Package Manager (BREW)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.