'how to install oracle database express on mac m1

I want to Install Oracle Database Express on macbook m1 but it only supports linux and windows, I downloaded Sql developer but I m unable to download Oracle database. I tried to install using docker and OrcaleVM but both attempt were unsuccessfull. I also tried playonmac but it only supports x86 software and x64 software crashes when i try to run. What should i do to install oracle database express on macbook with M1 chip??



Solution 1:[1]

I've been struggling to find a solution to this for the past couple of days, and finally have a halfway-decent solution. I've had success running Oracle Linux 8 (x86_64) with UTM, and then installing Oracle DB 21c EE in the VM. The setup, configuration and installation is completely manual and will take a significant chunk of time, but the outcome is pretty satisfactory. Mouse didn't work for me, so the GUI is pretty much useless. From what I've read, hardware acceleration doesn't work either, so my recommendation is to stay away from the UI as much as you can. I used keyboard to navigate the OL8 installer, and selected the "server" installation mode with headless packages. The install script (here) from the vagrant project was quite helpful in installing and configuring the DB. Performance-wise, I've found it to be quite snappy (to be fair, I've just tested the basics). The VM consumes ~5GB RAM of the 8GB I've allocated to it. In terms of CPU, I've allocated four cores to the VM, but I haven't seen it use any more than 50% of one core. Again, I use it for very basic CRUD requests, so that's all I've tested it with. And just to give a little context, I'm on the M1 MBA with 16GB RAM.

Solution 2:[2]

This doesn't answer the question directly, but... A solution worth considering for M1 Mac users is using the Oracle-cloud database. It's "always free" so it's not a trial that expires after a certain time period. It's essentially having your own oracle database in the cloud that you can connect to natively from your own machine

https://www.oracle.com/cloud/free/

Solution 3:[3]

It seams that the only way today is to use parallel desktop with an ARM Windows. To download it you have to register for the Windows Insider Program:

https://www.microsoft.com/en-us/software-download/windowsinsiderpreviewARM64

It should works: https://github.com/oracle/docker-images/issues/1814#issuecomment-826554712

Solution 4:[4]

I just want to run this data#### in its simplest xe version in a docker container on my M1-Mac but I also struggled. My log on this you can find on

https://github.com/fluentcodes/GitSamples/tree/oracle-pl-sql/applications/docker

I would appreciate a solution, since I remember a nightmare installation on linux some years ago.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 dhruvit-r
Solution 2 user542103
Solution 3 Shen
Solution 4 Werner Diwischek