To be honest, it is quite complicated now as well with all of the proprietary software

https://sh.itjust.works/post/18083826

To be honest, it is quite complicated now as well with all of the proprietary software - sh.itjust.works

To this day, I still don’t know how to set a path variable permanently in any Linux distro
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=…