section: " Building and installing the node"
After completing the cabal build all
I am having issues with: cp -p "$(./scripts/bin-path.sh cardano-node)" ~/.local/bin/ cp -p "$(./scripts/bin-path.sh cardano-cli)" ~/.local/bin/
I am getting the following error: -bash: ./scripts/bin-path.sh: No such file or directory cp: cannot stat '': No such file or directory
Please can someone advise?
Also, please can someone explain what is happening in “”$(./scripts/bin-path.sh cardano-node)"?. I am new to linux.
[I am using AWS Ubuntu 20.04 LTS, t3.large, and downloaded the
" Binary download for Ubuntu Linux 16.04 (x86-64, requires glibc 2.12 or later): cabal-install-3.4.0.0-x86_64-ubuntu-16.04.tar.xz"
it is basically executing a command within a command.
So first it tries to execute ./scripts/bin-path.sh cardano-node and giving the output as a source for cp command.
could you try cabal install cardano-node cardano-cli
the scripts folder should be located under cardano-node git repository folder. in which folder have you executed the cp -p "$(./scripts/bin-path.sh cardano-node)" ~/.local/bin/
should executed inside the cardano-node folder