Warning: /home/linuxbrew/.linuxbrew/bin is not in your PATH.
Instructions on how to configure your shell for Homebrew
can be found in the ‘Next steps’ section below.
==> Installation successful!
Install succeeded, but it said that the path was not passed, so proceed to Next Steps.
==> Next steps:
– Run these two commands in your terminal to add Homebrew to your PATH:
echo ‘eval “$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)”‘ >> /home/takahashi-h5/.profile
eval “$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)”
– Install Homebrew’s dependencies if you have sudo access:
sudo apt-get install build-essential
For more information, see:
/Homebrew-on-Linux
– We recommend that you install GCC:
brew install gcc
– Run brew help to get started
– Further documentation:
https://docs.brew.sh
Execute the command as written.
$ echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"' >> /home/takahashi-h5/.profile
↑Please change to the home directory of each environment
$ eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
$ sudo apt-get install build-essential
$ source .profile ※This command is required, or re-login is required
$ brew install gcc
This completes the homebrew installation.
Let’s try to install grpcurl on Ubuntu-20.04 (WSL) with the brew command.
コメント