How to make a binary file available for all linux(Ubuntu) user.
When we install the golang using
apt install golang-go the go executable is available for all user.
Where will they add the configuration for that.
I checked it in global level /etc/environment, /etc/profile, /etc/init.d/ i couldn't find any reference there !
Distributor ID: Ubuntu Description: Ubuntu 16.04.4 LTS Release: 16.04 Codename: xenial
Its not even in ~/.bashrc or ~/.profile; even-though these files are user specific.
Since the apt install gives the old version of go; i need to manually install the latest version of go and make it available for all the user.