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


반응형

'C, C++' 카테고리의 다른 글

SHA 512 , C++  (0) 2021.08.19
clock_gettime , linux tick  (0) 2021.06.03
Stack Size 조절  (0) 2019.04.23
Setting PATH and LD_LIBRARY_PATH for the bash shell  (0) 2019.01.23
-Wdeprecated-declarations 경고 없애기  (0) 2019.01.23