Tuesday, October 18, 2005

Oracle on Ubuntu

I love my new Ubuntu Linux (version 5.10). I love how easy it was to install, how it picked right up on my wireless card.

Oracle doesn't support Ubuntu, but I installed it anyway and it's doing fine. The process was tricky, though. Here's what I learned.
  1. RTFM. The Installation Guide is very important, more so than when installing Oracle on Windows. It has to be the primary document you work from, and follow step-by-step. Any other advice on Oracle/Ubuntu that you may Google up is secondary. Where Red Hat and SuSE directions differ, follow the Red Hat ones.
  2. This document is useful primarily for reassuring you that the error messages you get are OK.
  3. Make sure the Universe is in your Synaptic repository and install these packages: gcc, make, libxp, libaio, lesstif2, lesstif2-dev, rpm, and libdb1.
  4. You can't find all the packages that the install documents call for in the Ubuntu Universe. That seems to be OK; just find the ones you can.
  5. The magic word is runInstaller -ignoreSysPrereqs.
  6. One little misstep and you may get something broken. It took me a couple attempts. Try, try again, following that Installation Guide even more carefully.

2 comments:

Anonymous said...

Are you planning on installing any other tools apart from the database? (And I've seen your next post about cx_Oracle).

I'm just being lazy and hoping you'll blaze the way for me. I partitioned my work laptop at the weekend and installed Ubuntu 5.10 on it. I just got stuck trying to get my wireless card working and decided that installing Oracle was just a step too far this month.

Unknown said...

That's funny, because the ease of getting my wireless card working was exactly what delighted me about Ubuntu in the first place. Hmm.

Here's all I did for my wireless.

- System > Administration > Networking
- Choose "wireless connection" (only present if the card is physically inserted), Properties, Enable, Configuration=DHCP
- OK, OK out of that
- Click the networking icon at the top-right and select "ath0" from the dropdown list

Maybe Ubuntu supports my card (D-Link AirPlus G DWO-G630) but not yours yet? I'm sure they have a list of supported hardware, I just haven't looked for it.

Anyway, I'm going to be using the Ubuntu machine as my primary toy now, so I'll certainly be gradually putting more things on it. I'm not sure exactly what and when; probably Komodo will come next. (Drat, my WingIDE license if for one OS only.)