Install Oracle Xe 21c On Ubuntu Apr 2026

sudo /opt/oracle/product/21.0.0/dbhomeXE/bin/sqlplus / as sysdba 5.1. Verify the Database Status Verify the database status:

sudo groupadd oinstall sudo useradd -g oinstall oracle Set up the environment variables for the oracle user: install oracle xe 21c on ubuntu

sudo apt install -y libaio1 libstdc++6 Create a new user and group for Oracle XE: sudo /opt/oracle/product/21

SELECT status FROM v$INSTANCE; This should return OPEN . Verify the listener status: install oracle xe 21c on ubuntu

sudo /opt/oracle/product/21.0.0/dbhomeXE/bin/lsnrctl start Configure the database:

unzip oracle-database-xe-21c-1.0-1.linux.x86_64_2db8b56c.zip 3.1. Run the Installer Run the installer:

sqlplus / as sysdba This will open the SQL*Plus prompt. Run the following command to verify the database status: