728x90
반응형

 

brew에서 Package 설치 방법

brew install tree

 

brew에서 Package 제거 방법

 

우선 설치된 목록 확인 - brew list

% brew list
==> Formulae
autoconf		graphite2	libslirp	mysql-client	python@3.9
automake		guile		libssh		ncurses		qemu
bdw-gc			harfbuzz	libssh2		nettle		qt@5
c-ares			icu4c@76	libtasn1	nghttp2		readline
ca-certificates		isl		libtiff		ninja		ruby
cairo			jansson		libtool		nmap		snappy
capstone		jemalloc	libunistring	oniguruma	socat
cask			jenv		libusb		openblas	sqlite
cmake			jmeter		libx11		openjdk		telnet
cocoapods		jpeg		libxau		openjpeg	tesseract
coreutils		jpeg-turbo	libxcb		openssl@1.1	tesseract-lang
dlib			jq		libxdmcp	openssl@3	tree
dtc			leptonica	libxext		p11-kit		tree-sitter
emacs			libarchive	libxrender	pango		unbound
fontconfig		libb2		libyaml		pcre		vde
freetype		libcbor		little-cms2	pcre2		webp
fribidi			libev		llvm		pipx		wget
gcc			libevent	lua		pixman		xorgproto
gdbm			libffi		lz4		pkg-config	xz
gettext			libfido2	lzo		protobuf	z3
giflib			libidn2		m4		protobuf@21	zlib
git			liblinear	maven		putty		zsh-syntax-highlighting
glib			libmpc		md4c		pyqt@5		zstd
gmp			libnghttp2	mpdecimal	python@3.11
gnutls			libomp		mpfr		python@3.12
gradle			libpng		mysql		python@3.13

==> Casks
anaconda	flutter		temurin		temurin17	temurin@11	temurin@8
chromedriver	ngrok		temurin11	temurin8	temurin@17

 

brew list를 통해서 나온 결과는 설치한 package 목록이 나타나게 되며, 설치된 종류로 Formulae, Casks 가 있습니다.

 

 

Formulae 는 Mac 용 패키지 매니저이며, 터미널에서 패키지를 설치합니다. 패키지를 다운로드하고 컴파일 하는 방법 (바이너리를 받아 설치시키는 방법도 가능함)

  • ex) brew install git, brew install python3

Casks 는 homebrew의 확장으로 Mac용 GUI 애플리케이션을 명령어로 설치합니다. formula와 유사하지만 컴파일이 아닌 단일 바이너리를 설치하는 방법

  • ex) brew cask install google-chrome

오픈소스의 경우 Formulae 비중이 높고 패키지 설치 파일이나 바이너리로 배포되는 앱의 경우 Cask를 이용하는 경우가 많습니다.

 

제거할 package 이름을 확인한 다음 brew uninstall 을 이용하여서 제거

brew uninstall tree

 

 

728x90
반응형

+ Recent posts