brew_install_gcc

brew install gcc

Brew on Linux

(base) [bowman@localhost ~]$ brew install gcc

=⇒ Downloading https://ghcr.io/v2/homebrew/core/linux-headers/5.15/man

  1. =#=# ##O#-# ######################################################################## 100.0%

=⇒ Downloading https://ghcr.io/v2/homebrew/core/linux-headers/5.15/blo

=⇒ Downloading from https://pkg-containers.githubusercontent.com/ghcr1

  1. =#=# ###################### ###################################################################### ######################################################################## 100.0%

=⇒ Downloading https://ghcr.io/v2/homebrew/core/glibc/manifests/2.35_1

  1. =#=# ######################################################################## 100.0%

=⇒ Downloading https://ghcr.io/v2/homebrew/core/glibc/blobs/sha256:274

=⇒ Downloading from https://pkg-containers.githubusercontent.com/ghcr1

  1. =#=# ##

100.0%

=⇒ Downloading https://ghcr.io/v2/homebrew/core/gmp/manifests/6.2.1_1

  1. =#=#
    1. 100.0%

=⇒ Downloading https://ghcr.io/v2/homebrew/core/gmp/blobs/sha256:786ae

=⇒ Downloading from https://pkg-containers.githubusercontent.com/ghcr1

  1. =#=#

100.0%

=⇒ Downloading https://ghcr.io/v2/homebrew/core/isl/manifests/0.25

  1. =#=# ######################################################################## 100.0%

=⇒ Downloading https://ghcr.io/v2/homebrew/core/isl/blobs/sha256:c0244

=⇒ Downloading from https://pkg-containers.githubusercontent.com/ghcr1

                                                                      

100.0%

=⇒ Downloading https://ghcr.io/v2/homebrew/core/mpfr/manifests/4.1.0-p

  1. =#=#

=⇒ Downloading https://ghcr.io/v2/homebrew/core/mpfr/blobs/sha256:345a

=⇒ Downloading from https://pkg-containers.githubusercontent.com/ghcr1

=⇒ Downloading https://ghcr.io/v2/homebrew/core/libmpc/manifests/1.2.1

=⇒ Downloading https://ghcr.io/v2/homebrew/core/libmpc/blobs/sha256:d7

=⇒ Downloading from https://pkg-containers.githubusercontent.com/ghcr1

=⇒ Downloading https://ghcr.io/v2/homebrew/core/lz4/manifests/1.9.4

=⇒ Downloading https://ghcr.io/v2/homebrew/core/lz4/blobs/sha256:1757f

=⇒ Downloading from https://pkg-containers.githubusercontent.com/ghcr1

=⇒ Downloading https://ghcr.io/v2/homebrew/core/xz/manifests/5.2.7

=⇒ Downloading https://ghcr.io/v2/homebrew/core/xz/blobs/sha256:dda25f

=⇒ Downloading from https://pkg-containers.githubusercontent.com/ghcr1

=⇒ Downloading https://ghcr.io/v2/homebrew/core/zlib/manifests/1.2.13

=⇒ Downloading https://ghcr.io/v2/homebrew/core/zlib/blobs/sha256:0082

=⇒ Downloading from https://pkg-containers.githubusercontent.com/ghcr1

=⇒ Downloading https://ghcr.io/v2/homebrew/core/zstd/manifests/1.5.2-3

=⇒ Downloading https://ghcr.io/v2/homebrew/core/zstd/blobs/sha256:006b

=⇒ Downloading from https://pkg-containers.githubusercontent.com/ghcr1

=⇒ Downloading https://ghcr.io/v2/homebrew/core/binutils/manifests/2.3

=⇒ Downloading https://ghcr.io/v2/homebrew/core/binutils/blobs/sha256:

=⇒ Downloading from https://pkg-containers.githubusercontent.com/ghcr1

=⇒ Downloading https://ghcr.io/v2/homebrew/core/gcc/manifests/12.2.0-1

=⇒ Downloading https://ghcr.io/v2/homebrew/core/gcc/blobs/sha256:c7f77

=⇒ Downloading from https://pkg-containers.githubusercontent.com/ghcr1

                                                                                                                                             
=⇒ Installing dependencies for gcc: linux-headers@5.15, glibc, gmp, isl, mpfr, libmpc, lz4, xz, zlib, zstd and binutils

=⇒ Installing gcc dependency: linux-headers@5.15

=⇒ Pouring linux-headers@5.15–5.15.57.x86_64_linux.bottle.1.tar.gz

🍺 /home/linuxbrew/.linuxbrew/Cellar/linux-headers@5.15/5.15.57: 963 files, 5.6MB

=⇒ Installing gcc dependency: glibc

=⇒ Pouring glibc–2.35_1.x86_64_linux.bottle.tar.gz

=⇒ /home/linuxbrew/.linuxbrew/Cellar/glibc/2.35_1/sbin/ldconfig

=⇒ Installing locale data for en_US.UTF-8

=⇒ /home/linuxbrew/.linuxbrew/Cellar/glibc/2.35_1/bin/localedef -i en_

🍺 /home/linuxbrew/.linuxbrew/Cellar/glibc/2.35_1: 1,404 files, 47.0MB

=⇒ Installing gcc dependency: gmp

=⇒ Pouring gmp–6.2.1_1.x86_64_linux.bottle.tar.gz

🍺 /home/linuxbrew/.linuxbrew/Cellar/gmp/6.2.1_1: 23 files, 3.9MB

=⇒ Installing gcc dependency: isl

=⇒ Pouring isl–0.25.x86_64_linux.bottle.tar.gz

🍺 /home/linuxbrew/.linuxbrew/Cellar/isl/0.25: 74 files, 9.2MB

=⇒ Installing gcc dependency: mpfr

=⇒ Pouring mpfr–4.1.0-p13.x86_64_linux.bottle.tar.gz

🍺 /home/linuxbrew/.linuxbrew/Cellar/mpfr/4.1.0-p13: 31 files, 5.9MB

=⇒ Installing gcc dependency: libmpc

=⇒ Pouring libmpc–1.2.1.x86_64_linux.bottle.tar.gz

🍺 /home/linuxbrew/.linuxbrew/Cellar/libmpc/1.2.1: 13 files, 526.5KB

=⇒ Installing gcc dependency: lz4

=⇒ Pouring lz4–1.9.4.x86_64_linux.bottle.tar.gz

🍺 /home/linuxbrew/.linuxbrew/Cellar/lz4/1.9.4: 22 files, 660KB

=⇒ Installing gcc dependency: xz

=⇒ Pouring xz–5.2.7.x86_64_linux.bottle.tar.gz

🍺 /home/linuxbrew/.linuxbrew/Cellar/xz/5.2.7: 151 files, 2.3MB

=⇒ Installing gcc dependency: zlib

=⇒ Pouring zlib–1.2.13.x86_64_linux.bottle.tar.gz

🍺 /home/linuxbrew/.linuxbrew/Cellar/zlib/1.2.13: 13 files, 440KB

=⇒ Installing gcc dependency: zstd

=⇒ Pouring zstd–1.5.2.x86_64_linux.bottle.3.tar.gz

🍺 /home/linuxbrew/.linuxbrew/Cellar/zstd/1.5.2: 31 files, 2.6MB

=⇒ Installing gcc dependency: binutils

=⇒ Pouring binutils–2.39_1.x86_64_linux.bottle.tar.gz

🍺 /home/linuxbrew/.linuxbrew/Cellar/binutils/2.39_1: 4,687 files, 370.4MB

=⇒ Installing gcc

=⇒ Pouring gcc–12.2.0.x86_64_linux.bottle.1.tar.gz

=⇒ Creating the GCC specs file: /home/linuxbrew/.linuxbrew/Cellar/gcc/

🍺 /home/linuxbrew/.linuxbrew/Cellar/gcc/12.2.0: 1,633 files, 306.3MB

=⇒ Running `brew cleanup gcc`…

Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.

Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).

Brew on macOS

iMac ~ % brew search gcc

=⇒ Formulae

aarch64-elf-gcc gcc@5 i686-elf-gcc scc gcc gcc@6 libgccjit tcc gcc@10 gcc@7 x86_64-elf-gcc ncc gcc@11 gcc@8 ghc gcc@4.9 gcc@9 grc

=⇒ Casks

gcc-aarch64-embedded gcs

gcc-arm-embedded icc

iMac ~ % brew install gcc

Running `brew update –auto-update`…

=⇒ Auto-updated Homebrew!

Updated 2 taps (homebrew/core and homebrew/cask).

=⇒ Downloading https://ghcr.io/v2/homebrew/core/isl/manifests/0.25

=⇒ Downloading https://ghcr.io/v2/homebrew/core/isl/blobs/sha256:568dd08209728a

=⇒ Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sh

=⇒ Downloading https://ghcr.io/v2/homebrew/core/mpfr/manifests/4.1.0-p13

=⇒ Downloading https://ghcr.io/v2/homebrew/core/mpfr/blobs/sha256:1007b284b2bc9

=⇒ Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sh

=⇒ Downloading https://ghcr.io/v2/homebrew/core/libmpc/manifests/1.2.1

=⇒ Downloading https://ghcr.io/v2/homebrew/core/libmpc/blobs/sha256:b9984a72544

=⇒ Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sh

=⇒ Downloading https://ghcr.io/v2/homebrew/core/gcc/manifests/12.2.0-1

=⇒ Downloading https://ghcr.io/v2/homebrew/core/gcc/blobs/sha256:45319906904850

=⇒ Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sh

=⇒ Installing dependencies for gcc: isl, mpfr and libmpc

=⇒ Installing gcc dependency: isl

=⇒ Pouring isl–0.25.monterey.bottle.tar.gz

🍺 /usr/local/Cellar/isl/0.25: 73 files, 7.4MB

=⇒ Installing gcc dependency: mpfr

=⇒ Pouring mpfr–4.1.0-p13.monterey.bottle.tar.gz

🍺 /usr/local/Cellar/mpfr/4.1.0-p13: 30 files, 5.2MB

=⇒ Installing gcc dependency: libmpc

=⇒ Pouring libmpc–1.2.1.monterey.bottle.tar.gz

🍺 /usr/local/Cellar/libmpc/1.2.1: 12 files, 407.4KB

=⇒ Installing gcc

=⇒ Pouring gcc–12.2.0.monterey.bottle.1.tar.gz

🍺 /usr/local/Cellar/gcc/12.2.0: 1,582 files, 405.2MB

=⇒ Running `brew cleanup gcc`…

Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.

Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).

iMac ~ % gcc

clang: error: no input files

iMac ~ % gcc --version

Apple clang version 14.0.0 (clang-1400.0.29.202)

Target: x86_64-apple-darwin21.6.0

Thread model: posix

InstalledDir: /Library/Developer/CommandLineTools/usr/bin

Ubuntu

brew reinstall gcc =⇒ Downloading https://ghcr.io/v2/homebrew/core/gcc/manifests/14.2.0 Already downloaded: /home/bowman/.cache/Homebrew/downloads/cfbcae7c56a6f3ae28c3ab9e708e93f22e00d1d893bf26f656e7003d10024a38–gcc-14.2.0.bottle_manifest.json =⇒ Fetching gcc =⇒ Downloading https://ghcr.io/v2/homebrew/core/gcc/blobs/sha256:a86493a7d4c2f4507c49a8599e9464367b812f9d051aa63e8690d6ed7096fb4 Already downloaded: /home/bowman/.cache/Homebrew/downloads/8104000e1e9ddfd59344b9b52328296033b93f815f2bd177ec2581f196beca58–gcc–14.2.0.x86_64_linux.bottle.tar.gz =⇒ Reinstalling gcc =⇒ Pouring gcc–14.2.0.x86_64_linux.bottle.tar.gz Warning: The post-install step did not complete successfully You can try again using:

 brew postinstall gcc
=⇒ Summary 🍺 /home/linuxbrew/.linuxbrew/Cellar/gcc/14.2.0: 2,095 files, 564.3MB =⇒ Running `brew cleanup gcc`… Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP. Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).

The top three CPP package managers are:

1. navbar_Conan 2. navbar_vcpkg (Visual C++ Package Manager)]] 3. navbar_Hunter

CPP package managers

1. Conan 2. vcpkg (Visual C++ Package Manager) 3. Hunter

The CPP compiler CLI for Visual Studio is called cl.exe (Microsoft CPP Compiler).

navbar_cl.exe

gcc, g++, gcc -o, gcc -c, gcc -g, gcc -O, gcc -Wall, gcc -Wextra, gcc -Werror, gcc -pedantic, gcc -std, gcc -std=c99, gcc -std=c11, gcc -std=c++11, gcc -std=c++14, gcc -std=c++17, gcc -std=c++20, gcc -I, gcc -L, gcc -l, gcc -E, gcc -P, gcc -S, gcc -v, gcc -dumpversion, gcc -dumpspecs, gcc -save-temps, gcc -pipe, gcc -fopenmp, gcc -pthread, gcc -fPIC, gcc -shared, gcc -static, gcc -fno-exceptions, gcc -fno-rtti, gcc -fno-strict-aliasing, gcc -fvisibility, gcc -fstack-protector, gcc -fstack-protector-all, gcc -fno-stack-protector, gcc -faddress-sanitizer, gcc -fsanitize=address, gcc -fsanitize=undefined, gcc -fsanitize=thread, gcc -fsanitize=leak, gcc -flto, gcc -finline-functions, gcc -funroll-loops, gcc -march=native, gcc -mtune=native, gcc -mfpmath=sse, gcc -mavx, gcc -msse, gcc -msse2, gcc -mfma, gcc -mno-avx, gcc -mno-sse, gcc -mno-fma, gcc -mcpu, gcc -m32, gcc -m64, gcc -msoft-float, gcc -march=x86-64, gcc -mno-unaligned-access, gcc -nostdlib, gcc -nodefaultlibs, gcc -nostartfiles, gcc -fno-builtin, gcc -fno-builtin-malloc, gcc -fno-builtin-printf, gcc -fdiagnostics-color, gcc -fdiagnostics-plain-output, gcc -fno-diagnostics-show-option, gcc -fmax-errors, gcc -fopt-info, gcc -fopt-info-vec, gcc -ftime-report, gcc -fstack-usage, gcc -fanalyzer, gcc -ftree-vectorize, gcc -ftree-loop-distribution, gcc -ffunction-sections, gcc -fdata-sections, gcc -fvisibility=hidden, gcc -fvisibility=default, gcc -fvisibility-inlines-hidden, gcc -ffast-math, gcc -fno-math-errno, gcc -frounding-math, gcc -funsafe-math-optimizations, gcc -ftrapv, gcc -fsanitize=bounds, gcc -fsanitize=shift, gcc -fsanitize=integer-divide-by-zero, gcc -fsanitize=null, gcc -fsanitize=signed-integer-overflow, gcc -fsanitize=float-divide-by-zero, gcc -fsanitize=object-size, gcc -Wshadow, gcc -Wconversion, gcc -Wunused, gcc -Wuninitialized, gcc -Wdeprecated, gcc -Wformat-security, gcc -Wstrict-aliasing, gcc -Wfloat-equal, gcc -Wunused-parameter, gcc -Wunused-variable, gcc -Wno-unused-variable, gcc -Woverloaded-virtual, gcc -Winvalid-pch, gcc -Wmain, gcc -Wreturn-type, gcc -Wunused-function, gcc -Wdouble-promotion, gcc -Wcast-align, gcc -Wpacked.

GCC - GNU Compiler Collection: Compilers, brew install gcc - On Windows see mingw and cygwin (navbar_gcc - see also navbar_llvm, navbar_clang, navbar_compilers)

Homebrew related ONLY: Give me a 100 term vocabulary list sorted by popularity in usage (by commonly used / frequency of use in codebases). That means 100 terms, not 100 words. DO NOT REPEAT YOURSELF. Acronyms related to Homebrew technology are allowed but they must be expanded. e.g. RAII (Resource Acquisition Is Initialization). The terms should have to do ONLY with and SPECIFICALLY with Homebrew, CANNOT include generic operating system terms, generic IT terms, or computing terms. No definitions. Just the words. Each word should be surrounded by double brackets and separated by a comma and on the same lines. e.g. robots, robotics. Etc.

Homebrew, brew command, brew install, brew uninstall, brew update, brew upgrade, brew cleanup, brew doctor, brew info, brew search, brew tap, brew untap, brew list, brew outdated, brew services, brew cask, brew bundle, brew analytics, brew edit, brew audit, brew formula, brew caveats, brew switch, brew pin, brew unpin, brew desc, brew deps, brew leaves, brew link, brew unlink, brew unlinkapps, brew man, brew shellenv, brew missing, brew tap-info, brew tap-pin, brew tap-unpin, brew test-bot, brew style, brew linkapps, brew bump-formula-pr, brew livecheck, brew bottle, brew pull, brew create, brew gist-logs, brew alias, brew autoremove, brew completions, brew generate-man, brew postinstall, brew upgrade --greedy, brew versions, brew uses, brew reinstall, brew extract, brew install --build-from-source, brew install --HEAD, brew config, brew dependencies, brew dependents, brew doctor --debug, brew fetch, brew fetch --deps, brew test, brew audit --strict, brew audit --new-formula, brew linkage, brew list --formula, brew list --cask, brew tap --repair, brew services list, brew services start, brew services stop, brew services restart, brew cleanup --prune, brew cleanup --dry-run, brew uninstall --force, brew autoremove --force, brew install --force, brew edit --force, brew bundle --file, brew bundle dump, brew bundle install, brew bundle cleanup, brew bundle check, brew bundle exec, brew bundle dump --force, brew list --versions, brew search --desc, brew search --casks, brew search --formulae, brew update-reset, brew outdated --verbose, brew pin --force, brew list --pinned, brew tap-info --verbose, brew analytics off, brew analytics on, brew tap-new, brew unbottled.

Homebrew: Cloud Monk's Package Manager Book Homebrew Chapter, Cloud Monk's Development PC DevOps Automation via Ansible-Chocolatey-PowerShell-Homebrew-DNF-APT, Homebrew Glossary - Glossaire de Homebrew - French, Homebrew Fundamentals, Homebrew Inventor - Homebrew Designer: Mike McQuaid, Brew DevOps - Homebrew on macOS - macOS DevOps - MacOps, Homebrew on Linux - Linux DevOps - LinuxOps, Homebrew Automation, Idempotent, Refreshenv, Homebrew Topics, macOS Package Managers, Package managers, macOS Configuration Management, PowerShell on macOS Ansible on macOS, Chef on macOS, Puppet on macOS (navbar_brew - see also navbar_choco, navbar_package_manager)


Cloud Monk is Retired ( for now). Buddha with you. © 2025 and Beginningless Time - Present Moment - Three Times: The Buddhas or Fair Use. Disclaimers

SYI LU SENG E MU CHYWE YE. NAN. WEI LA YE. WEI LA YE. SA WA HE.


brew_install_gcc.txt · Last modified: 2025/02/01 07:14 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki