Installing the Glasgow Haskell Compiler and Cabal- Coincashew guide

Using a text editor, open the $HOME/.bashrc file, and then add the following lines at the end of the file:

# Set environment variables so that the compiler finds libsodium on your computer
export LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH"
export PKG_CONFIG_PATH="/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH"
# Set an environment variable indicating the file path to configuration files and scripts
# related to operating your Cardano node
export NODE_HOME="$HOME/cardano-my-node"
# Set an environment variable indicating the Cardano network cluster where your node runs
export NODE_CONFIG=--testnet-magic

What do they mean. Should i go to this folder and open the file, and copy the content to a text editor and add this to the end :

export LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH"
export PKG_CONFIG_PATH="/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH"
export NODE_HOME="$HOME/cardano-my-node"
export NODE_CONFIG=--testnet-magic

Then i copy the edit back to the file ?

Best regards,

You have to open that file $HOME/.bashrc with a text editor and then copy the those lines at the end of that file.

for example

sudo nano $HOME/.bashrc