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??
Looks like the Oracle Database team hasn't released a build for ARM chipsets yet. I had a similar issue (w/ docker) and solved it by following these steps:
- Uninstall docker desktop if installed
- Run
brew install colima
- Run
brew install docker
- Run
colima start --memory 4 --arch x86_64
- Run an Oracle DB image using docker (e.g
docker run -e ORACLE_RANDOM_PASSWORD=yes -p 1521:1521 -d gvenzl/oracle-xe
)
This should successfully run a container w/ an Oracle DB on the new M1 Macs.
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
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
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.
Regarding Apple M1 specifically, it is a 'known' issue.
Below solution worked for me: You probably installed node with either nvm or brew, by doing that you will install the arm64 version and get this error. The only solution for now is to download and install node from the homepage directly.
Read below for reference: https://github.com/oracle/node-oracledb/issues/1349
You can install oracle db on apple silicon Mac’s
Oracle Database on Apple Silicon MacBook | M1, M2 https://youtu.be/GJyCY3F0mmI
© 2022 - 2024 — McMap. All rights reserved.