how to define the enviroment variable


I followed the instruction of installing cuda on MAC (my version is 10.5.7). When i type the following in the X11

export PATH=/usr/local/cuda/bin:$PATH
export DYLD_LIBRARY_PATH=/use/local/cuda/lib:DYLD_LIBRARY_PATH bash-3.2 ~/.bash_profile

I have the responce below.

bash: /Users/yangshenghui/.bash_profile: No such file or directory

What should i do then? :blink:

Ok. Thanks for viewing this. I figured it out.