In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Homebrew is a software installation management tool on Mac's OS X, similar to apt-get or yum. What is Homebrew
Homebrew is a software installation management tool on Mac's OS X, similar to apt-get or yum. It has many practical functions such as installing, uninstalling, updating, viewing, searching and so on. A simple instruction, you can achieve package management, without you to care about various dependencies and file paths, very convenient and fast. Homebrew Cask is an extension of Homebrew and can be used to install some applications.
Second, Homebrew installation 1. Request
Intel CPU
OS X 10.9 or higher
Xcode command line tool
$xcode-select-install1
Support for shell (sh or bash) 4
two。 Install and uninstall
Install homebrew
Ruby-e "$(curl-fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"1
When finished, run the brew doctor command to verify that the installation was successful.
Use homebrew to install things
Brew install caskroom/cask/brew-cask
Uninstall homebrew
$cd `brew-- prefix` $rm-rf Cellar$ brew prune$ rm `git ls- files` $rm-r Library/Homebrew Library/Aliases Library/Formula Library/Contributions$ rm-rf .git $rm-rf ~ / Library/Caches/Homebrew1234567
Basic use of Homebrew
Install any package
$brew install
Example: install wget
$brew install wget
Uninstall any package
$brew uninstall
Example: uninstall git
$brew uninstall git
Query available packages
$brew search
View a list of installed packages
$brew list
View any package information
$brew info
Update Homebrew
$brew update
View Homebrew version
$brew-v
Homebrew help Information
$brew-h
Basic use of Homebrew cask
Using Homebrew Cask is also very simple, and the command format is very similar to Homebrew.
Brew cask search name brew cask install name brew cask uninstall name
The original text is from: https://www.linuxprobe.com/homebrew-mac-usage.html
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.