Installing a Cardano Node, directory not found

Hi,
i just build cabal and wanted to copy the executables files to the .local/bin directory, but i got this error message:

cp -p dist-newstyle/build/x86_64-linux/ghc-8.10.2/cardano-node-1.24.2/x/cardano-node/build/cardano-node/cardano-node ~/.local/bin/

i follwed the steps of the stake pool school: Installing Cardano-node - Stake pool course

I had an idea about the steps except the step:

You need to restart your server or source your .bashrc file:

source .bashrc (I used this command and did not restart the server)

Thanks in advance!