“Cómo establecer la variable de entorno en Linux de forma permanente” Código de respuesta

Cómo establecer la variable de entorno en Linux de forma permanente

#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
Faithful Frog

Establecer variable de entorno permanente

$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
TheLazyLemur

Cómo establecer variables de entorno en Linux

vi ~/.bash_profile
Important Iguana

Respuestas similares a “Cómo establecer la variable de entorno en Linux de forma permanente”

Preguntas similares a “Cómo establecer la variable de entorno en Linux de forma permanente”

Más respuestas relacionadas con “Cómo establecer la variable de entorno en Linux de forma permanente” en Shell/Bash

Explore las respuestas de código populares por idioma

Explorar otros lenguajes de código