Install Homebrew on Amazon Linux 2


I installed Homebrew on Amazon Linux2, so I'll leave a note as a memorandum.


Install by referring to Homebrew.

/bin/bash -c "$(curl -fsSL"

Then, if there is no path, the following caution will be displayed.

Warning: /home/linuxbrew/.linuxbrew/bin is not in your PATH.

Therefore, you can use it by executing the following command.

export PATH=/home/linuxbrew/.linuxbrew/bin:$PATH

Make sure Homebrew is installed just in case.

brew -v

It was recommended as We recommend that you install GCC: brew install gcc, so it seems better to install gcc as well.

brew install gcc

Notes and recommendations

Warning: /home/linuxbrew/.linuxbrew/bin is not in your PATH.
==> Installation successful!

==> Homebrew has enabled anonymous aggregate formulae and cask analytics.
Read the analytics documentation (and how to opt-out) here:
No analytics data has been sent yet (or will be during this `install` run).

==> Homebrew is run entirely by unpaid volunteers. Please consider donating:

==> Next steps:
- Run `brew help` to get started
- Further documentation:
- Install the Homebrew dependencies if you have sudo access:
    sudo yum groupinstall 'Development Tools'
    See for more information
- Add Homebrew to your PATH in /home/ec2-user/.bash_profile:
    echo 'eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)' >> /home/ec2-user/.bash_profile
    eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)
- We recommend that you install GCC:
    brew install gcc


Recommended Posts

Install Homebrew on Amazon Linux 2
Install tomcat 5.5 on Amazon Linux.
Install strongSwan 5.9.1 on Amazon Linux 2
Install Python Pillow on Amazon Linux
Install oracle java8 on amazon linux2
Install pyenv on EC2 (Amazon Linux)
[Note] Install Imagick on Amazon Linux2
I'll install Ruby on EC2 (Amazon Linux2) 2020
How to install Anisble on Amazon Linux 2
Install Python 3.8, Pip 3.8 on EC2 (Amazon Linux 2)
Install PHP 7 series on Amazon Linux 2 with Amazon Linux Extras
Install Minecraft on Arch Linux
Install Linux on your Chromebox
Install the JDK on Linux
Put jenv on Amazon Linux
Use sshpass on Amazon linux2
Compile and install MySQL-python for python2.7 on amazon linux
[AWS EC2] How to install Maven on Amazon Linux 2
Try installing OpenAM on Amazon Linux
Install CUDA on Linux Mint Mate 20
How to install wkhtmltopdf (Amazon Linux2)
[Note] Run Django on Amazon Linux 2
Run docker-compose on Amazon Linux2 on ARM64
Introduce Python 3.5.2 environment on Amazon Linux
Run cron on Amazon Linux (set on Linux)
Install scipy on Linux without internet connection
How to install aws-session-manager-plugin on Manajro Linux
Install wsl2 and master linux on windows
Use Numpy, Scipy, scikit-learn on Amazon Linux
How to update php on Amazon linux 2
Install and launch k3s on Manjaro Linux
Build an LNPP environment on Amazon Linux 2
Install and Configure TigerVNC server on Linux
Learn sshd_config and authorized_keys (on Amazon Linux 2)
Upgraded mysql on Cloud9 (Amazon Linux) (5.5 to 5,7)
How to install packages on Alpine Linux
5 reasons to install Linux on your laptop.
Dockerfile: Install Docker on your Linux server
Install Mecab on Linux (CentOS) with brew
Run Keycloak on Amazon Linux 2 without Docker
How to install php7.4 on Linux (Ubuntu)
Install rJava on Linux in R3.6 environment.
Until you install Arch Linux on VMware
Linux "Install on / dev / sda" error resolution
A story I was addicted to trying to install LightFM on Amazon Linux
Install Python3 and Django on Amazon Linux (EC2) and run your web server
Install debian on linux on Arrows tab Q584 / H
Install Anydesk Linux version on Chromebook [Result NG]
[Note] Install wxPython 3.x on Linux Mint (Ubuntu)
Install Python 3 on MacOS Catalina (with Homebrew only)
Install mecab on Marvericks
Install Tensorflow on Mac
Daemonizing processes on Linux
Install TensorFlow on Ubuntu
Install python on WSL
Install Faiss on CentOS 7
Install pyenv on mac
Install Python on Pidora.
Install mongodb on termux
Install Scrapy on python3
jblas on Arch Linux