Unix sh < Unregister Environmental Variables < Deinstallation < Viivi's Cell < Entrance
Remove the following four lines
VIIVI_HOME=${HOME}/Viivi/
export VIIVI_HOME
PATH=${PATH}:${VIIVI_HOME}
export PATH
appended at the end of the environment configuration file
${HOME}/.profile for sh
${HOME}/.kshrc for ksh
${HOME}/.bashrc for bash
and then save the environment configuration file.
Remove the strings which were registered to the Environmental variables
VIIVI_HOME
and
PATH,
using the shell command
set
as follows:
$ set VIIVI_HOME=
$ export VIIVI_HOME
$ set PATH=
$ export PATH
In order for the new settings to take effect, read the environment configuration file edited above as follows:
$ . ${HOME}/.profile for sh
$ . ${HOME}/.kshrc for ksh
$ . ${HOME}/.bashrc for bash
where
$
is the prompt of
sh /
ksh /
bash.
[Note]
After performing the above operations,
if you find errors that commands are not found,
the cause is that there are no descriptions for
PATH
in the environment configuration file.
For now, please input as follow
$ PATH=/bin:/usr/bin:${HOME}/bin:
$ export PATH
to enable the usual commands.
After confirming that you can use the usual commands,
please write down the above setting for
PATH
in the environment configuration file.
[Example]
If there is no
PATH
descriptions in the environment configuration file,
append the following two lines at the end of the environment configuration file.
PATH=/bin:/usr/bin:${HOME}/bin:
export PATH
And then, repeat the operation 3. to read the environment configuration file.
Unix sh < Unregister Environmental Variables < Deinstallation < Viivi's Cell < Entrance
Exhibited on 2022/03/02
Copyright(C) 2003-2022 ilma <ilma@viivi.io> All rights reserved.