Homebrew 7.0.0 - macOS/Linux 패키지 관리자 완벽 가이드

Homebrew 7.0.0이 2026년 9월 13일 출시됐습니다. 더 빠른 설치, 강력한 샌드박싱, 네이티브 macOS 앱, 취약점 검사 기능 등 대규모 개선이 이루어진 메이저 업데이트입니다. 원문: https://brew.sh/2026/09/13/homebrew-7.0.0/ Homebrew란? https://brew.sh/ macOS와 Linux에서 소프트웨어를 쉽게 설치하고 관리할 수 있는 오픈소스 패키지 관리자 Ruby로 작성되어 있으며, GitHub에서 활발하게 개발 중 CLI 도구(Formulae)와 GUI 앱(Cask) 두 가지 방식으로 패키지 관리 설치 macOS # Homebrew 설치 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" # 설치 확인 brew --version Linux (Ubuntu/Debian) # Homebrew 설치 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" # PATH 설정 (zsh/bash) eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" # 설치 확인 brew --version Apple Silicon (M1/M2/M3/M4) macOS # Apple Silicon 기본 경로: /opt/homebrew eval "$(/opt/homebrew/bin/brew shellenv)" 주요 명령어 Cheatsheet 📦 패키지 관리 (Formulae) # 패키지 검색 brew search <package> brew search wget # 패키지 설치 brew install <package> brew install wget # 패키지 정보 확인 brew info <package> # 설치된 패키지 목록 brew list brew list --formula # Formula만 brew list --cask # Cask만 # 패키지 업그레이드 brew upgrade # 전체 업그레이드 brew upgrade <package> # 특정 패키지 업그레이드 # 패키지 제거 brew uninstall <package> # 패키지 의존성 확인 brew deps <package> brew deps --tree <package> 🖥️ GUI 앱 관리 (Cask) # Cask 패키지 설치 brew install --cask <package> brew install --cask google-chrome # Cask 패키지 업그레이드 brew upgrade --cask brew upgrade --cask <package> # Cask 패키지 제거 brew uninstall --cask <package> 🔄 업데이트 및 유지보수 # Homebrew 자체 업데이트 brew update # 오래된 패키지 확인 brew outdated # 캐시 및 이전 버전 정리 brew cleanup brew cleanup --dry-run # 삭제될 목록 미리 확인 brew cleanup -s # 캐시도 함께 정리 # 시스템 진단 brew doctor brew missing 🔍 정보 조회 # Homebrew 환경 정보 brew config # 탭(Tap) 목록 brew tap brew tap-info --installed --json=v1 # 패키지 홈페이지 열기 brew home <package> # 패키지 파일 경로 확인 brew --prefix <package> brew --cellar <package> 📋 Brewfile (번들 관리) # 현재 설치된 패키지를 Brewfile로 저장 brew bundle dump # Brewfile에서 패키지 일괄 설치 brew bundle install brew bundle install --file=./Brewfile # Brewfile 체크 brew bundle check # Brewfile에 없는 패키지 정리 brew bundle cleanup Homebrew 7.0.0 신규 기능 및 특징 🏎️ 성능 개선 7.0.0의 가장 큰 변화 중 하나는 병렬 처리 강화입니다. ...

2026년 9월 14일 · Byung Kyu KIM

macOS Homebrew Cask, 추가 애플리케이션

macOS 애플리케이션 - personal installation 시스템 유틸리티 alt-tab (AltTab.app) 윈도우 스타일의 앱 전환기로, 모든 열린 창을 한눈에 보고 빠르게 전환할 수 있습니다. macOS의 기본 앱 전환 기능을 개선하여 생산성을 높이는 데 도움을 줍니다. linearmouse (LinearMouse.app) macOS용 마우스 커스터마이징 도구로, 스크롤 방향, 속도, 버튼 기능 등을 세밀하게 조정할 수 있습니다. 특히 서드파티 마우스 사용 시 macOS의 제한적인 마우스 설정을 보완해줍니다. rectangle (Rectangle.app) 키보드 단축키로 창 크기와 위치를 쉽게 조절할 수 있는 창 관리 도구입니다. 다중 모니터 환경에서 창 관리를 효율적으로 할 수 있어 작업 생산성을 크게 향상시킵니다. ...

2024년 11월 17일 · Byung Kyu KIM

GCC 설치 (`macOS`, `Windows`)

macOS 및 Windows 에 GCC 설치하기 MAC OS brew : macOS 용 패키지 관리자 https://brew.sh/index_ko{:target="_blank"} brew 사용 gcc 설치 Command line tools 설치 xcode 없이 개발툴 설치 $ xcode-select --install clang 이 설치되고 gcc로 심볼링 링크 걸려 있음 $ gcc -v Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/4.2.1 Apple clang version 12.0.5 (clang-1205.0.22.11) Target: arm64-apple-darwin20.6.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin GCC (G++) 설치 # 특정 버전으로 설치 가능 $ brew search gcc ==> Formulae gcc gcc@5 gcc@8 libgccjit ghc ncc gcc@10 gcc@6 gcc@9 x86_64-elf-gcc scc gcc@4.9 gcc@7 i686-elf-gcc grc tcc ==> Casks gcc-arm-embedded # 기본(최신) 버전 설치 $ brew install gcc ==> Auto-updated Homebrew! Updated 1 tap (homebrew/core). ==> Updated Formulae Updated 1 formula. ==> Downloading https://ghcr.io/v2/homebrew/core/gcc/manifests/11.2.0 Already downloaded: /Users/cdecl/Library/Caches/Homebrew/downloads/210783e77b227b8210d559abfe3514cdb95c915619fa3f785ad212120d6a36f9--gcc-11.2.0.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/gcc/blobs/sha256:23ec727fa684a9f65cf9f55d61d208486d5202fb6112585a01426a Already downloaded: /Users/cdecl/Library/Caches/Homebrew/downloads/8d1fae8a356d50aa911004b768eff64c241e170ce9be66e684b819fc4f67fc7c--gcc--11.2.0.arm64_big_sur.bottle.tar.gz ==> Pouring gcc--11.2.0.arm64_big_sur.bottle.tar.gz 🍺 /opt/homebrew/Cellar/gcc/11.2.0: 1,412 files, 339.5MB 심볼릭링크 설정 및 PATH 설정 $ cd /opt/homebrew/Cellar/gcc/11.2.0 $ ls -l ... -rwxr-xr-x 1 cdecl admin 1.7M 8 28 13:41 g++-11 -rwxr-xr-x 1 cdecl admin 1.7M 8 28 13:41 gcc-11 ... $ ln -s g++-11 g++ $ ln -s gcc-11 gcc .zshrc or .bashrc export PATH=/opt/homebrew/Cellar/gcc/11.2.0/bin:$PATH $ g++ -v Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=/opt/homebrew/Cellar/gcc/11.2.0/libexec/gcc/aarch64-apple-darwin20/11.1.0/lto-wrapper Target: aarch64-apple-darwin20 Configured with: ../configure --prefix=/opt/homebrew/Cellar/gcc/11.2.0 --libdir=/opt/homebrew/Cellar/gcc/11.2.0/lib/gcc/11 --disable-nls --enable-checking=release --enable-languages=c,c++,objc,obj-c++,fortran --program-suffix=-11 --with-gmp=/opt/homebrew/opt/gmp --with-mpfr=/opt/homebrew/opt/mpfr --with-mpc=/opt/homebrew/opt/libmpc --with-isl=/opt/homebrew/opt/isl --with-zstd=/opt/homebrew/opt/zstd --with-pkgversion='Homebrew GCC 11.2.0' --with-bugurl=https://github.com/Homebrew/homebrew-core/issues --build=aarch64-apple-darwin20 --with-system-zlib --disable-multilib --with-native-system-header-dir=/usr/include --with-sysroot=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 11.1.0 (Homebrew GCC 11.2.0) Windows chocolatey chocolatey : Windows 용 패키지 관리자 https://chocolatey.org/{:target="_blank"} choco 사용 gcc 설치 GCC (G++) 설치 패키지가 2개중에 하나 선택 mingw : https://community.chocolatey.org/packages/mingw{:target="_blank"} winlibs : https://community.chocolatey.org/packages/winlibs{:target="_blank"} winlibs가 버전이 높고 mingw는 버전인 올라가면서 posix thread가 문제가 있음 ...

2021년 8월 27일 · Byung Kyu KIM