User Tools

Site Tools


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: [email protected], glibc, gmp, isl, mpfr, libmpc, lz4, xz, zlib, zstd and binutils

=⇒ Installing gcc dependency: [email protected]

=⇒ Pouring [email protected]–5.15.57.x86_64_linux.bottle.1.tar.gz

🍺 /home/linuxbrew/.linuxbrew/Cellar/[email protected]/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 [email protected] 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

navbar_gcc


Cloud Monk is Retired (for now). Buddha with you. © 2005 - 2024 Losang Jinpa or Fair Use. Disclaimers

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


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, 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)

brew_install_gcc.txt · Last modified: 2022/11/07 18:38 by 127.0.0.1