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)
Carlo Cipolla's Laws of Stupidity
"By creating a graph of Cipolla's two factors, we obtain four groups of people. Helpless people contribute to society but are...
-
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...
-
"By creating a graph of Cipolla's two factors, we obtain four groups of people. Helpless people contribute to society but are...
-
Use 'Disk Utility' application to format the USB drive in MS-DOS (FAT) format Download the windows ISO file from the Windows websit...
No comments:
Post a Comment