Command Lnd Not Found Even After Installing Lnd

I tried installing lnd using the commands shown in the installation guide. I used these commands:

git clone 
cd lnd
make install

but when I try running the lnd command, I get this:

Command 'lnd' not found

How can I solve this issue? I am running Ubuntu 20.04.

edit: I have go1.18.1 installed. I did execute the commands above, but nothing changed. 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
2
David Miller

David Miller

Executive Financial & Market Analyst

David Miller brings 15 years of experience in global economics, personal finance strategy, and market dynamics. He specializes in turning complex economic trends into actionable insights for everyday readers.

Share this article