“Установите Homebrew на Ubuntu” Ответ

Установите Homebrew на Ubuntu

git clone https://github.com/Homebrew/brew ~/.linuxbrew/Homebrew
mkdir ~/.linuxbrew/bin
ln -s ~/.linuxbrew/Homebrew/bin/brew ~/.linuxbrew/bin
eval $(~/.linuxbrew/bin/brew shellenv)
Excited Eland

Установите Homebrew на Linux

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
PhenXfeyr

Ubuntu Установите Brew

test -d ~/.linuxbrew && eval $(~/.linuxbrew/bin/brew shellenv)
test -d /home/linuxbrew/.linuxbrew && eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)
test -r ~/.bash_profile && echo "eval \$($(brew --prefix)/bin/brew shellenv)" >>~/.bash_profile
echo "eval \$($(brew --prefix)/bin/brew shellenv)" >>~/.profile
Successful Salamander

Установка Homebrew в Ubuntu

sudo apt update
sudo apt-get install build-essential
sudo apt install git -y
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
brew doctor
brew install gcc
echo "done"
Smoggy Seahorse

Ответы похожие на “Установите Homebrew на Ubuntu”

Вопросы похожие на “Установите Homebrew на Ubuntu”

Больше похожих ответов на “Установите Homebrew на Ubuntu” по Shell/Bash

Смотреть популярные ответы по языку

Смотреть другие языки программирования