====== 2024.04.03 CentOS7 Homebrew ======
インストール
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Pathを通す
echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"' >> ~/.bash_profile
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
===== Error1 =====
The version of Git that was found does not satisfy requirements for Homebrew.
Please install Git 2.7.0 or newer and add it to your PATH.
==== 対応 ====
$ sudo yum install https://repo.ius.io/ius-release-el7.rpm
$ sudo yum remove git
$ sudo yum install git236
===== Error2 =====
$ sudo curl https://github.com/moparisthebest/static-curl/releases/download/v7.82.0/curl-amd64 -Lo /usr/local/bin/curl
$ sudo chmod +x /usr/local/bin/curl
$ sudo ln -s /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem /etc/ssl/certs/ca-certificates.crt
{{tag>日記}}