Install Homebrew on Ubuntu 20.04

Official procedure

https://docs.brew.sh/Homebrew-on-Linux

Installation

sudo apt-get install build-essential curl file git
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)

Environment variable set

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

Recommended Posts

Install Homebrew on Ubuntu 20.04
Install pyqt5 on ubuntu
Install Ruby on Ubuntu 20.04
Install Autoware on Ubuntu 18.04.5
Install OpenJDK7 (JAVA) on ubuntu 14.04
Install Cybozu Office 10 on Ubuntu 20.4
Install Docker on Ubuntu Server 20.04
Install zabbix agent (5.0) on Ubuntu 18.04
Install MAV Proxy on Ubuntu 18.04
Install Arudino IDE on Ubuntu 20
Install Java on WSL Ubuntu 18.04
Install Ubuntu Desktop 20.10 on RaspberryPi4
Install Arduino IDE on Ubuntu 20.04
Install raspi-config on Ubuntu 20.04 (LTS)
Install WordPress 5.5 on Ubuntu 20.04 LTS
Install PlantUML on Intellij on Ubuntu
Install Ubuntu Server 20.04 on Btrfs
Note: Install PostgreSQL 9.5 on Ubuntu 18.04
Install AWS IoT Greengrass on Ubuntu
How to install WildFly on Ubuntu 18.04
Install MQTT broker Mosquitto on Ubuntu 18.04
Install SonarQube on ECS instance on Ubuntu 16.04
Install ruby on Ubuntu 20.04 with rbenv
tmux on Ubuntu
Headless install of Ubuntu 20.10 on Raspberry Pi
Install OpenJDK (Java) on the latest Ubuntu
How to install production Metabase on Ubuntu
I want to install PHP 7.2 on Ubuntu 20.04.
Install Realtek network driver on Ubuntu Note
Web Bluetooth on Ubuntu20.04
Install java with Homebrew
Wine settings on Ubuntu 18.04 (install WOLF RPG Editor)
Install gradle on mac
Install Corretto 8 on Windows
Install OpenJDK on macOS
Install java and android-sdk on Mac using homebrew
Build and install Wireshark Development Release (3.3.1) on Ubuntu
Install Ubuntu Core 18 on Raspberry Pi 2 Model B
Reinstall Kubernetes on Ubuntu 19.10
Install Golang on CentOS 8
Use Flutter on Ubuntu
How to install network drivers on standalone Ubuntu
Install Neo4j 4.1.3 on centOS
Install Java 11 (OpenJDK: AdoptOpenJDK) on macOS with Homebrew
Install ROS Noetic ubuntu20.04
Install Docker on Manjaro
Install Vertica 10.0 on CentOS 6.10
How to install NVIDIA driver on Ubuntu 18.04 (Note)
Install Java 14 (OpenJDK: AdoptOpenJDK) on macOS with Homebrew
Install Gradle with ubuntu16.04
Install nginx on centOS7
Install lombok on SpringToolSuite4
Install Python 3 on CentOS 7
Install Java 8 (OpenJDK: AdoptOpenJDK) on macOS with Homebrew
Install kuromoji on CentOS7
How to install multiple JDKs on Ubuntu 18.04 LTS
Put JetBrains on Ubuntu
Install Mattermost on CentOS 7
Install PostGIS 2.5.5 on CentOS7
Install and switch between multiple Javas on Ubuntu
Install the latest version of Jenkins on Ubuntu 16