I will work in the /home/ folder
~
3. The default data directory is /root/.bitcoin
If you're writing a Beginners guide,
please follow best practices! Running software as root is
bad terrible practice! Read
Why Not to Use Root User? or any of the countless other websites that tell you not to do this. Use
sudo apt install when needed.
Easy solution: create a new user "for instance lightning", and install everything from there. Install in
/home/lightning, and don't give root access to anything that doesn't need it.