I have just seen that the new 11G XE beta is out for Windows and Linux x64 and decided to try it out. You can download it at http://www.oracle.com/technetwork/database/express-edition/11gxe-beta-download-302519.html.
Unfortunately there is just an RPM and no DEB file. Here is the way how I achieve to run it on my Ubuntu 10.04 LTS x64.
Create a .deb out of the RPM
I used alien for the conversion, the resulting .deb is not a perfect one but it is a good start:
Now I tried to install it but I got an error from /var/lib/dpkg/info/oracle-xe.postinst that /sbin/chkconfig does not exist. As I don't want to have Oracle started automatically on my laptop anyway I have just commented out the whole section of the script:
then I ran the script again and it went fine:
Before doing the configuration I had to install the following dependency (which was not installed by apt-get)
Before you proceed I would advice to make some sanity checks and see if the installation was successful
Oracle user and group
If you don't see the oracle user or/and the group dba, something went wrong and I would deinstall the package, remove /u01 (sudo rm -rf /u01), create them manually and start the installation again
Check if the placeholder in the init.ora file are correctly replaced
If you see real numbers there then everything is OK, if you see %sga_target% instead of the numbers then the step with executing /var/lib/dpkg/info/oracle-xe.postinst was not ok
Check the owner and permissions
If the owner is not oracle:dba then probably the user and the group were not created correctly so I would create them manually, remove the installation and the files and reinstall again (see further how to create the user and the group
Configure the database
It will ask you for a password, ports for the listener and for the APEX server, you can accept the defaults. After some time it will say that everything is fine.
(Optional) Create the oracle user and dba group manually
Create the dba group and oracle user:
Create a profile for the oracle user (vi/u01/app/oracle/.bash_profile and put the following settings)
Verify the database
Login with the user oracle and run some select statement
If everything is fine you should get around 17901 objects.
Now you can try APEX too: goto http://localhost:8080/apex (if you have accepted the default port during the installation)
Thanks to the feedback in the comments, it seems that there is a short cut to install chkconfig before you try to install the .deb package.
So here is the short sequence (copied from Kamran's comment):
if you don't like to have the oracle-xe started automatically on every boot, you have to disable it:
ByteSource Technology Consulting GmbH http://bytesource.net