On Ubuntu — Install Oracle Xe 21c

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

sudo apt install -y libaio1 libstdc++6 Create a new user and group for Oracle XE: install oracle xe 21c on ubuntu

sudo /opt/oracle/product/21.0.0/dbhomeXE/bin/dbca -silent -createDatabase -templateName XE -gdbName XE -sid XE -characterSet AL32UTF8 -memoryOption -memoryLimit 1024 Start the database: sqlplus / as sysdba This will open the SQL*Plus prompt

sudo /opt/oracle/product/21.0.0/dbhomeXE/bin/lsnrctl start Configure the database: install oracle xe 21c on ubuntu