Unix (sh System) < 2. Environmental Variables < Stage C < Installation < Viivi's Cell < Entrance
Here the Viivi system directory is assumed to be
${HOME}/Viivi/
.
Append the four-lines
VIIVI_HOME=${HOME}/Viivi/
export VIIVI_HOME
PATH=${PATH}:${VIIVI_HOME}
export PATH
to the end of the environment configuration file
${HOME}/.profile for sh
${HOME}/.kshrc for ksh
${HOME}/.bashrc for bash
At the first line, don't forget to append '/' to the end of the line.
When you finished editing the environment configuration file,
load the file as follows,
in order to reflect the new settings.
Here,
$
is the prompt of
sh
/
ksh
/
bash
.
$ . ${HOME}/.profile⮠ for sh
$ . ${HOME}/.kshrc⮠ for ksh
$ . ${HOME}/.bashrc⮠ for bash
Please confirm the strings set to the environmental variables
VIIVI_HOME
and
PATH
,
using the command
echo
.
$ echo ${VIIVI_HOME}⮠
$ echo ${PATH}⮠
If you can see the Viivi system directory
${HOME}/Viivi/
in the string directed by each of the environmental variables,
the environmental settings are done.
Unix (sh System) < 2. Environmental Variables < Stage C < Installation < Viivi's Cell < Entrance
Exhibited on 2022/03/02
Copyright(C) 2003-2022 ilma <ilma@viivi.io> All rights reserved.