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 :: stop apache service 
Shell :: check how much memory linux 
Shell :: git grep across all branches 
Shell :: install pi hole cmd 
Shell :: gitlab set ssh key 
Shell :: how to unlock minimize button on gnome 
Shell :: shell: search a substring in another string 
Shell :: angular localize install 
Shell :: keyboard abnt2 arch linux 
Shell :: powershell 7 install 
Shell :: install obs studio ubuntu 
Shell :: ansible ignore tag 
Shell :: set domain name for localhost ubuntu 
Shell :: create r anaconda environment 
Shell :: display number of lines in nano linux 
Shell :: clear history linux 
Shell :: vscode install-extension command line 
Shell :: auto clean ubuntu 
Shell :: set default java version 
Shell :: install drupal using composer 
Shell :: git merge by ssh key 
Shell :: How to restart a service with systemctl command 
Shell :: k8s get current context 
Shell :: install davinci resolve ubuntu 
Shell :: how to completely remove blender from ubuntu 
Shell :: cassandra get table size 
Shell :: The current branch zuqing_feature2 has no upstream branch. 
Shell :: find all the git repos recursivelty 
Shell :: git reset to origin/master 
Shell :: uninstall edb postgres mac 
ADD CONTENT
Topic
Content
Source link
Name
2+2 =