Issues with homebrew and @ permissions installed under Mac

Source: Internet
Author: User
Tags install homebrew

Issues with homebrew and @ permissions installed under Mac

1, Homebrew Introduction:

Homebrew is a package manager for installing UNIX tools that Apple does not have preinstalled but you need. (such as the famous wget).

Homebrew installs the package to a standalone directory (/usr/local/cellar) and soft-links its files to/usr/local.

Homebrew does not install files outside of its own directory, so you can install homebrew anywhere.

Homebrew makes MacOS more complete. Use Gems to install GEMS, and brew to install those dependent packages.

Installation:

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

Website Link: https://brew.sh/index_zh-cn.html

2. Permissions on Mac:

, the Mac will have a special @ permission (additional attribute (extended attributes)), and sometimes the script cannot be executed because of the permission being changed, and the @ permission must be removed:

xattr-d com.apple.quarantine "FileName"
Xattr-d-R com.macromates.selectionRange./*

Issues with homebrew and @ permissions installed under Mac

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.