2017-09-21 1 views
0

나는 brew search ocaml을 작성하여 ==> Searching local taps... ocaml ocamlbuild ocamlsdl이됩니다. 내 시스템에서 ocaml을 제거했지만 로컬 탭을 검색 할 때 ocaml이 표시됩니다. brew cleanup -sbrew doctor을 시도했지만 해결하지 못했습니다. 생각?양조 검색에서 로컬 탭을 검색하는 위치는 어디입니까?

+2

거기에 무슨 문제가 있습니까? 'brew search ocaml'은'ocaml'의 수식이 있음을 알려줍니다; 시스템에 설치되어있는 것은 아닙니다. – bfontaine

답변

2

탭은 수식의 출처입니다. 수식은 소프트웨어를 설치하는 방법을 설명하는 파일입니다. 기본 탭은 homebrew/core이지만 아무도 만들 수 없습니다. 탭은 brew tapbrew untap 명령으로 관리됩니다.

Homebrew에서 "searching local taps"이라고 말하면 로컬에있는 탭 중 하나에서 ocaml 수식을 찾고 있음을 의미합니다. 이 로컬에 설치되어 발견 수식 한 경우, 그 옆에 작은 체크 표시로 대담에서 보여주지 : 당신이 당신의 경우에서 볼 수 있듯이

# OCaml is installed 
$ brew search ocaml 
==> Searching local taps... 
ocaml ✔ ocamlbuild ocamlsdl 

# Ocaml is NOT installed 
$ brew search ocaml 
==> Searching local taps... 
ocaml ocamlbuild ocamlsdl 

, 당신은 OCaml이 그래서 체크 표시를하지 않습니다 설치되어 있지 않습니다.

$ brew info ocaml 
ocaml: stable 4.05.0 (bottled), HEAD 
General purpose programming language in the ML family 
https://ocaml.org/ 
Not installed <--------- look here 
... 

이 탭에 관해서는 당신이 로컬 brew tap 사용하는 한 그 나열 할 수 있습니다 : 당신은 brew info ocaml을 입력하여 확인하실 수 있습니다 정확한 출력이 다를 수 있습니다

$ brew tap 
homebrew/core 
homebrew/services 
homebrew/fuse 
homebrew/nginx 
homebrew/php 
... 

을하지만 당신은 항상에서해야합니다 최소 homebrew/core.

새 탭을 추가 brew tap <tap>를 사용하려면

brew tap homebrew/science 

brew untap <tap>를 사용, 탭을 제거하려면 :

brew untap homebrew/science 

참고는 homebrew/core을 제거 할 수 없습니다.

관련 문제