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.