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, but don't give higher permissions than necessary to anything running on your system. Linux is a multi-user system, learn to use it to your advantage.
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.
There are some fragments of writing a huge guide like this over many session. Anyhow, there are many things that can be done, how much should be I included in the guide is the question. Most guides online will not have the information that you are suggesting. I'll consider it.