If I am not administrator then some ENVIRONMENT VARIABLES path values that I changed will not remain intact after I restart my computer. So Here is procedure to save it so that each time I restart computer I don't have to set the ENVIRONMENT VARIABLES in command prompt.
Suppose I am setting the path variable MAGICK_HOME for image magick API.
export MAGICK_HOME="/Users/reza/Desktop/Image-Magick-6.4.8" // location in my computer :)
export PATH="$MAGICK_HOME/bin:$PATH"
export LD_LIBRARY_PATH="$MAGICK_HOME/lib"
export DYLD_LIBRARY_PATH="$MAGICK_HOME/lib"
Now, go to the folder /etc. It contains a file named profile.
Open it with vi.
command:
vi profile
Then paste the above code and save it.
After saving in the profile file then path variables will retain the values inserted.
Subscribe to:
Post Comments (Atom)
-
To install pngwrite we need to install to helper library before we install pngwriter. 1. libpng 2. freetype2 We can use fink or macport to i...
-
Parsing and displaying dates and times is often complicated because of formatting and locale issues. Java 2 Platform, Standard Edition (J2S...
No comments:
Post a Comment