sudo ln -s /opt/oracle/oratop/oratop /usr/local/bin/oratop Ensure Python can find the Oracle client libraries:
export ORACLE_HOME=/usr/lib/oracle/21/client64 export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH export PATH=$ORACLE_HOME/bin:$PATH Add the script to your PATH or create a symlink: oratop download linux
# Change to a directory of your choice, e.g., /opt/oracle cd /opt/oracle git clone https://github.com/oracle/oratop.git Navigate into the folder cd oratop install cx_Oracle via pip:
python3 -c "import cx_Oracle" If that fails, install cx_Oracle via pip: oratop download linux