To be honest, it is quite complicated now as well with all of the proprietary software
To be honest, it is quite complicated now as well with all of the proprietary software
export PATH=$PATH:/mypath1:/mypath2 in ~/.profile. Means “add :/mypath1:/mypath2 to what is already in $PATH.” If you need the entire system to be aware, set or update it in /etc/environment with PATH=…