Run Oracle XE on Ubuntu 24.04 | Generated by AI
This laptop is running Ubuntu 24.04.4 LTS (x86_64), so none of the official packages are a perfect match — but here’s the breakdown:
| Option | Verdict |
|---|---|
Windows 64-bit (.zip) |
❌ You’re on Linux, not Windows. |
Oracle Linux 8 (.rpm) |
✅ Best choice — the RPM is the one you’d want to attempt on Ubuntu. |
| Pre-install RPM for RHEL 8 | ❌ Supplementary package only. |
Recommended approach
Install the OL8 RPM on Ubuntu — it’s not officially supported, but it’s the most common approach. On this system:
-
Install
aliento convert the.rpmto.deb:sudo apt update && sudo apt install alien -
Convert and install:
alien --scripts -d oracle-database-xe-21c-1.0-1.ol8.x86_64.rpm sudo dpkg -i oracle-database-xe-21c-1.0-1.ol8.x86_64.deb -
Run the configuration script:
sudo /etc/init.d/oracle-xe-21c configure
⚠️ Caveats: This is a community workaround, not officially supported. Expect to manually resolve dependency issues (e.g.,
libaio1,bc). Some users report better luck withrpm --nodeps+ manual link fixes instead ofalien.
Alternative (recommended as a simpler approach)
Run Oracle XE in Docker — avoids OS compatibility headaches entirely:
docker run -d --name oracle21c \
-p 1521:1521 -p 5500:5500 \
-e ORACLE_PDB=XE \
-e ORACLE_PWD=your_password \
container-registry.oracle.com/database/express:21.3.0-xe
This works cleanly on Ubuntu 24.04 and is much easier to maintain.
Bottom line: If you must install natively, go with the OL8 .rpm and use alien. But I’d recommend Docker instead — it’s the path of least resistance on this system.
