I think it is clear now how to setup PATH, I think. If .bashrc is not present in $HOME I should create it and fill in the settings I need, right?
One other thing I missed to mention is that in my case this is an embedded application running a fix program that will communicate through ad-hoc ethernet channel with a remote client program, so, there is only one instance of the program running and only one remote client app monitoring and controlling this program.
For development and test I can start the program on the shell but later I need it to start as a service at boot time. Before I ask how to do it, I’ll try to figure it myself when the time comes.
Next trouble, over the weekend I tried to install libmraa to gain access to GPIO and UARTs, unfortunately
I ran into troubles with apt-get upgrade and apt-get dist-update. The net result after a very long list of downloads and install was a dead board, no HDMI, no Ethernet communication, no activity other the blinking LED as far as I can see. I had to reload the image a couple of times. I did only the updates and that let me load the mraa library. I’ve seen a few posts about this problem here. It seems that the current latest image is no longer good for production.
Question, it is clear that GPIO access needs to be customized, but why do I need to use libmraa to gain access to UARTs?, one would expect UARTs to be a device readily available from the OS.