'BREW'에 해당되는 글 2건

  1. 2018.07.06 brew 버전별 설치
  2. 2017.09.07 MacOS 10.12 업데이트후 homebrew 설치 문제

brew 버전별 설치

맥북 2018. 7. 6. 17:50

Homebrew 설치 후 brew 명령어를 이용해서 software를 설치 할 수 있다.


brew install tomcat


install 명령으로 설치를 하면 최신버전을 설치 한다.


최신버전이 아닌 다른 버전을 설치 하길 원하면 아래 명령어를 이용해서 설치 가능한 버전을 확인하고 설치하면 된다.


> brew search tomcat@

==> Searching local taps...

tomcat ✔        tomcat-native   tomcat@6        tomcat@7        tomcat@8

==> Searching taps on GitHub...

==> Searching blacklisted, migrated and deleted formulae...


> brew install tomcat@7


'맥북' 카테고리의 다른 글

python3 설치  (0) 2019.08.28
watch command 사용하기  (0) 2018.11.15
iterm2 oh-my-zsh 설정하기  (0) 2017.09.28
Outlook Mac에서 패스워드 계속 물어볼때  (0) 2017.09.19
MacOS 10.12 업데이트후 homebrew 설치 문제  (0) 2017.09.07
Posted by 무세1
,


아래와 같은 절차로 진행하면해결됨.


1. /usr/local 디렉토리 소유권 변경.

sudo chown -R $(whoami) /usr/local


2. homebrew 업데이트

cd "$(brew --repo)" && git fetch && git reset --hard origin/master && brew update


3. 소유권 변경

sudo chmod 0755 /usr/local

sudo chown root:wheel /usr/local


Posted by 무세1
,