Skip to content

Instantly share code, notes, and snippets.

@rllola
Created July 1, 2018 17:56
Show Gist options
  • Save rllola/ef4cb2340edb4d918108140d7bd7529b to your computer and use it in GitHub Desktop.
Save rllola/ef4cb2340edb4d918108140d7bd7529b to your computer and use it in GitHub Desktop.
Instruction to build grin-miner on ubuntu 16.04
# Update
$ apt update
# Install cargo
$ curl https://sh.rustup.rs -sSf | sh; source $HOME/.cargo/env
# Install dependencies (not sure about libclang-dev llvm-dev clang)
$ apt install cmake libclang-dev llvm-dev clang libncurses5-dev libncursesw5-dev
# Build
$ cargo build
# Update path
export PATH=$PWD/target/debug/:$PATH
# Run
grin-miner
@harrison-bergeron
Copy link

Commenting to let you know this resolved all my issues with the grin-miner. Thanks!

@zgdjcls
Copy link

zgdjcls commented Jun 8, 2020

Great job, I have the issue with libncurses5-dev libncursesw5-dev. After installing packages, now it works

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