Skip to content

Instantly share code, notes, and snippets.

@michaeljklein
Last active September 19, 2019 14:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save michaeljklein/e76e45ee9af3f9a9f3fedb027c047c08 to your computer and use it in GitHub Desktop.
Save michaeljklein/e76e45ee9af3f9a9f3fedb027c047c08 to your computer and use it in GitHub Desktop.

First, install the required dependencies using apt:

sudo apt update
sudo apt install clang curl git make build-essential

Next, install Homebrew for Linux:

sh -c "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)"

To add Homebrew to your PATH:

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

To install the Tezos Client and lorentz-contract-param:

brew tap TQTezos/homebrew-tq https://gitlab.com/TQTezos/homebrew-tq.git
brew install tezos
brew install lorentz-contract-param
@michaeljklein
Copy link
Author

For nokogiri:

sudo apt-get install build-essential patch ruby-dev zlib1g-dev liblzma-dev

@michaeljklein
Copy link
Author

Since it appears that git may not track the right permissions, the following command may be required:

chmod 644 /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/tqtezos/homebrew-tq/Formula/lorentz-contract-param.rb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment