I installed Oracle 19c on Centos. When I try to run the sqlplus command, it says "bash: sqlplus: command not found..." So, I have to configure the variables. I went to the vi editor to configure when I restart sqlplus it still doesn't work I try .oraen here is what it means
vi editor
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=/u01/app/oracle/product/19.0.0/dbhome_1
export ORACLE_SID=ORCLDB
export PATH=$ORACLE_HOME/bin:$PATH
PATH=$PATH:$HOME/.local/bin:$HOME/bin
export PATH
# User specific environment and startup programs
Oraenv
[oracle@localhost ~]$ . oraenv
ORACLE_SID = [ORCLDB] ? ORCLDB
ORACLE_HOME = [/home/oracle] ? /u01/app/oracle/product/19.0.0/dbhome_1
ORACLE_BASE environment variable is not being set since this
information is not available for the current user ID oracle.
You can set ORACLE_BASE manually if it is required.
Resetting ORACLE_BASE to its previous value or ORACLE_HOME
The Oracle base remains unchanged with value /u01/app/oracle
[oracle@localhost ~]$