Answers for "ubuntu set environment variable permanently"

2

set permanant environemt variable

$EDITOR ~/.profile
#add lines at the bottom of the file:  
     export LD_LIBRARY_PATH=/usr/lib/oracle/11.2/client64/lib
     export ORACLE_HOME=/usr/lib/oracle/11.2/client64
Posted by: Guest on June-15-2020
0

ubuntu set environment variable permanently

#open terminal and type:
$ nano .bashrc

#scroll to the bottom of the script and type:
export <place variable name in here> = '<place variable value here>'

#e.g
export ANDROID_SDK_ROOT='/home/<$USER>/Android/Sdk'

#once you,re finished typing in your variable hit Ctrl+X then press enter
Posted by: Guest on August-14-2021

Code answers related to "ubuntu set environment variable permanently"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language