How to build cardano on one machine and use on other

I wan’t to build cardano-node & cardan-cli one one machine and move only the build files to pool and relay machines. I tried to simply copy cardano-node & cardano-cli builds. But that didn’t work. Is there anything else i need to copy ?

Ok solved it … i didn’t copy the files into the.local/bin folder & that folder to path. after doing so it simply worked.