linux - Append LD_LIBRARY_PATH for all users -


I have to add some paths in my LD_LIBRARY_PATH variable. It is very easy to add export LD_LIBRARY_PATH = ... in my ~ / .bashrc file on a per user basis. However, I would like to add it to all users.

Is there any place I can add export LD_LIBRARY_PATH = ... so that all the users will be added to the environment variable?

Thank you!

You can /etc/ld.so.conf .

If it is about third-party software in a non-standard installed path, then you want to see the stow instead the utility, which is a symlink farming assistant Which will help you to catch name conflicts between the installed software.


Comments