How can I set the Environment Variables for dL4 on a Linux system?

Linux normally uses the BASH shell and environment variables should be set in the .bash_profile file in the user HOME directory instead of .profile.