Moving and installing cardano-cli to cold environment

The above command is the right (bashrc) one but is for library path

Did u pasted all?


echo PATH="$HOME/.local/bin:$PATH" >> $HOME/.bashrc
echo export LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH" >> $HOME/.bashrc
echo export NODE_HOME=$HOME/cardano-my-node >> $HOME/.bashrc
source $HOME/.bashrc

do I run these commands from the base directory in terminal ie cd. or do I run these in the cardano-my-node directory?

Doesn’t matter run them from the terminal

so it is meant to be

echo export LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH" >> $HOME/.bashrc
1 Like

Yes, it is from the guide so should be correct

hmm still not recognizing the command.
ive definitely copied the binaries into the correct folder

Wait

Try only these

echo export NODE_HOME=$HOME/cardano-my-node >> $HOME/.bashrc
source $HOME/.bashrc

Do u have the $NODE_HOME created?

Try cd $NODE_HOME
ls -l

Tried those still nothing,

Yeah I have $NODE_HOME created… is there definitely nothing I have to do to configure cardano-cli?

Go to cd /usr/local/bin

ls -l

is: command not found.

Whats this meant to do?

hmmm try cd /usr/local

ls -l

same outcome, i followed the guide exactly and this is a fresh install of ubuntu that I just did today. However I did the minimal install of ubuntu which may of caused some problems?

Aaaa, wait u did a fresh install of ubuntu… u will use it for air gapped offline node?

yea this is my offline air gapped machine

And did u copied again the binari files ?

yea I did i literally did that straight after I added the paths from the guide on coin cashew

Where did u copied?

i copied cardano-cli and cardano-node binaries to /usr/local/bin directory. how ever you mention copying the the entire bin folder from the BP, which I didn’t do i just copied the two binaries and placed them in the already existing bin folder in /usr/local. But I doubt that would make any difference.

Ok and if u type

cd /usr/local/bin
ls -l
do u see the files there?