Skip to main content
1 of 3
Graeme
  • 34.5k
  • 9
  • 88
  • 110

To do if for all users/shells, depending on distro you could use /etc/environment or /etc/profile. Creating a new file in /etc/profile.d may be preferable if it exists, as it will be less likely to conflict with updates made by the packaging system.

Note also though that setting LD_LIBRARY_PATH permanently is potentially problematic, including being a security risk.

Graeme
  • 34.5k
  • 9
  • 88
  • 110