以下是sqlplus在Debian上的使用教程:
libaio1和libaio-dev,命令為sudo apt-get update和sudo apt-get install libaio1 libaio-dev。wget https://download.oracle.com/otn_software/linux/instantclient/215000/instantclient-basiclite-linux.x64-21.5.0.0.0dbru.zip等。/opt/oracle等目錄,如sudo unzip instantclient-basiclite-linux.x64-21.5.0.0.0dbru.zip -d /opt/oracle。~/.bashrc或~/.profile,添加export ORACLE_HOME=/opt/oracle/instantclient等,然后運行source ~/.bashrc。sqlplus username/password@//host:port/service_name,如sqlplus scott/tiger@//localhost:1521/ORCL。SET LINESIZE和SET COLUMNS設置輸出格式,QUIT或DISCONNECT退出,@執行緩沖區SQL語句等。