Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

install homebrew on 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)
Comment

homebrew install in 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"
Comment

ubuntu install 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
Comment

PREVIOUS NEXT
Code Example
Shell :: COPY failed: file not found in build context or excluded by .dockerignore: stat package.json: file does not exist 
Shell :: bash if statement 
Shell :: list all files in a directory and subdirectory linux 
Shell :: git commit message conventions 
Shell :: deploy on heroku 
Shell :: install grub efi arch 
Shell :: could not store password 
Shell :: hide date from terminal ubuntu 
Shell :: download heroku ubuntu 
Shell :: require php mailer 
Shell :: add directory to path on linux 
Shell :: if output is null bash 
Shell :: download specific folder from git 
Shell :: how to undo git clean -fd command 
Shell :: copy files from s3 to ec2 vice versa 
Shell :: downgrade ruby version ubuntu 
Shell :: grep all lines after first match 
Shell :: download bash 
Shell :: delete from transfer.sh 
Shell :: sudoers file location 
Shell :: Make an existing Git branch track a remote branch 
Shell :: how to disable a user linux 
Shell :: git create github repo 
Shell :: instaling composer linux 
Shell :: aws s3 ls wildcard 
Shell :: edit commit message 
Shell :: powershell or command prompt 
Shell :: install blender on Debian Linux 
Shell :: how to push to new branch in github 
Shell :: restart ubuntu terminal command 
ADD CONTENT
Topic
Content
Source link
Name
2+9 =