change path around the world

Exists a standard for $PATH and also the order of points that are intended to be in there? out of package Arch Linux does not have /usr/local/bin in the $PATH. I intend to add it yet I'm not exactly sure if there's a predefined position for system courses.

Additionally where is the appropriate area to do this? for now I changed /etc/profile yet I'm not exactly sure that's the appropriate area in Arch for customer alterations. Any person recognize if there's a far better area?

0
2019-05-04 06:44:50
Source Share
Answers: 2

Arch is a minimalistic linux circulation, so generally there are nothing else unique configuration documents which are obtaining consisted of in some weird placces, changed by system configuration wizards.

/etc/profile is the appropriate area to do this for a system vast configuration.

This documents is planned to be made use of for ALL usual Bourne-compatible coverings. Shell specifics need to be taken care of in / etc/profile.$ SHELL where $SHELL is the name of the binary being run (marking down symlinks )

It is also mentioned in the official FAQ for reloading if your shell can't find a newly installed binary

0
2019-05-07 23:50:57
Source

By "around the world", do you suggest for all customers? I placed my path alterations in ~/.profile, as it influences X applications too. If you desire it in the system account it's possibly best to change /etc/profile

0
2019-05-07 22:27:45
Source