Installation Cardano-Node Cardano-Cli
Installation Cardano-Node Cardano-Cli
==============================
=> (https://cardano-course.gitbook.io/cardano-course/handbook/module-1-build-and-
run-the-node/building-the-node)
=>(https://github.com/input-output-hk/cardano-node/blob/master/doc/getting-
started/install.md)
which cabal
mkdir -p ~/src
cd ~/src
Add the following to your ~/.bashrc file and source it (or re-open the terminal):
-----------------------------------------------------------------------------------
-----
export LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH"
export PKG_CONFIG_PATH="/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH"
Installing Secp256k1:
-----------------------------------
mkdir -p ~/src
cd ~/src
cd cardano-node
cabal update
cabal build all
Install the newly built node and CLI commands to the ~/.local/bin directory:
-----------------------------------------------------------------------------------
mkdir -p ~/.local/bin
cp -p "$(./scripts/bin-path.sh cardano-node)" ~/.local/bin/
cp -p "$(./scripts/bin-path.sh cardano-cli)" ~/.local/bin/
cardano-cli --version
cardano-node --version