How to install brew in ubuntu
How to install homebrew/linuxbrew in ubuntu 20. I am writing this post because there is no sufficient instruction or guideline provided even in brew.sh instructions are not working for me. Here are the steps to install homebrew in ubuntu 20, which made me successfully install and working. Open Terminal sudo apt-get install curl sh -c "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)" sudo apt-get install build-essential ==> Next steps: - Run `brew help` to get started - Further documentation: https://docs.brew.sh - Install the Homebrew dependencies if you have sudo access: Debian, Ubuntu, etc. sudo apt-get install build-essential Fedora, Red Hat, CentOS, etc. sudo yum groupinstall 'Development Tools' See https://docs.brew.sh/linux for more information. - Configure Homebrew in your /home/devang/.profile by running echo 'eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)' >> /home/devang/.profile - Add Homebrew to your PATH eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv) - We recommend that you install GCC by running: brew install gcc echo 'eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)' >> /home/devang/.profile eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv) brew install gcc Continue updating