C, C++
Setting PATH and LD_LIBRARY_PATH for the bash shell
슬픈달
2020. 5. 20. 11:24
반응형
Setting PATH and LD_LIBRARY_PATH for the bash shell
Type the following to see if /usr/local/bin
is already in your path:
echo $PATH
If not then open the .bash_profile
file in your home directory and add the following lines:
PATH=$PATH:/usr/local/bin export PATH
Then type the following to see if /usr/local/lib
is in your library loading path:
echo $LD_LIBRARY_PATH
If not then add the following lines to the .bash_profile
file in your home directory:
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib export LD_LIBRARY_PATH
반응형