I tried installing lnd using the commands shown in the installation guide. I used these commands:
git clone https://github.com/lightningnetwork/lnd cd lnd make install
but when I try running the lnd command, I get this:
Command 'lnd' not found
I have go1.18.1 installed. I did execute these commands, but nothing changed:
export GOPATH=~/go export PATH=$PATH:$GOPATH/bin
Here are the $GOPATH
and $PATH
variables:
echo $GOPATH /usr/local/go
echo $PATH /home/ayoub/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/ayoub/.dotnet/tools:/usr/local/go/bin:/usr/local/go/bin
How can I solve this issue? I am running Ubuntu 20.04.