ec2-user:~/environment $ /bin/bash -c “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)”
==> Checking for `sudo` access (which may request your password)…
==> This script will install:
/home/linuxbrew/.linuxbrew/bin/brew
/home/linuxbrew/.linuxbrew/share/doc/homebrew
/home/linuxbrew/.linuxbrew/share/man/man1/brew.1
/home/linuxbrew/.linuxbrew/share/zsh/site-functions/_brew
/home/linuxbrew/.linuxbrew/etc/bash_completion.d/brew
/home/linuxbrew/.linuxbrew/Homebrew
Press RETURN/ENTER to continue or any other key to abort:
[sudo] password for ec2-user: ← OSユーザー(この例ではec2-user)のパスワードを入力します。
==> /usr/bin/sudo /bin/chown -R ec2-user:ec2-user /home/linuxbrew/.linuxbrew/Homebrew
==> Downloading and installing Homebrew…
remote: Enumerating objects: 194, done.
remote: Counting objects: 100% (119/119), done.
remote: Compressing objects: 100% (48/48), done.
remote: Total 194 (delta 52), reused 115 (delta 51), pack-reused 75
Receiving objects: 100% (194/194), 296.93 KiB | 6.32 MiB/s, done.
Resolving deltas: 100% (60/60), completed with 15 local objects.
From https://github.com/Homebrew/brew
* [new branch] dependabot/bundler/Library/Homebrew/json_schemer-0.2.25 -> origin/dependabot/bundler/Library/Homebrew/json_schemer-0.2.25
* [new branch] dependabot/bundler/Library/Homebrew/parser-3.2.2.3 -> origin/dependabot/bundler/Library/Homebrew/parser-3.2.2.3
HEAD is now at a56a27070 Merge pull request #15542 from hmarr/sparse-checkout-cone-mode
Updated 2 taps (homebrew/core and homebrew/cask).
==> Installation successful!
==> Homebrew has enabled anonymous aggregate formulae and cask analytics.
Read the analytics documentation (and how to opt-out) here:
https://docs.brew.sh/Analytics
No analytics data has been sent yet (nor will any be during this install run).
==> Homebrew is run entirely by unpaid volunteers. Please consider donating:
https://github.com/Homebrew/brew#donations
==> Next steps:
– Install Homebrew’s dependencies if you have sudo access:
sudo yum groupinstall ‘Development Tools’
For more information, see:
https://docs.brew.sh/Homebrew-on-Linux
– We recommend that you install GCC:
brew install gcc
– Run brew help to get started
– Further documentation:
https://docs.brew.sh
コメント