how to install oracle database express on mac m1 - database

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.

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/

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

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

Related

How to setup vscode-remote on Windows 10 without Docker Desktop?

I've been using VSCode's remote containers capabilities for some time - such a helpful extension. Problem is, Docker Desktop changed their licensing model and devs are being told not to install it on our machines anymore.
Does anybody know how to setup vscode-remote on a Win 10 system without Docker Desktop?
Is there a way to use other container engines? This could be directly installing on Windows OS or installing on WSL2.
Also, could somebody from MSFT update the remote containers setup instructions to reflect this alternative approach?

Forticlient on ARM proc (surface pro x)

i can not install forticlient (last version) on microsoft surface pro x, it's rolling back & exit during the installation ..
And i tried to install & configurate SSLVPN, and when i want to connect it, it stuck at 98% and disconnect.
Please any solution to install Forticlient my surface pro x (ARM x64) ?
Thank you.
You have to download and install FortiClient from the Microsoft Store. It's an outdated version and appears to only support VPN functionality but it seems like the only option for ARM processors at this time.
I had that issue with a Microsoft Surface X. I tried installing:
various versions
restarting the pc in-between attempts
running in different compatibility modes
running as administrator
disabling User Account Control
disabling firewalls and antivirus protections
installing Microsoft .NET Framework 3.5 and 4.5.2
None them worked... when trying to install the drivers... it fails and rolled back every time. I installed the version from the Microsoft Store and that solved it.
They are not compatible with Forti client according to Fortinet. my source I had to open a ticket with them at my company regarding this issue.

Can we connect to any version of oracle using cx_oracle library python?

I am trying to write a script to connect to all version's of oracle database starting from the latest to the oldest version of database.
I tried myself with cx_oracle library found like it needs a client library in the local to connect to remote database like if I download the latest version then it will work up to latest few versions not all.
Also tried with Sqlalchemy connection which is also using cx_oracle libraries.
Please do guide me if am doing anything wrong? I would also like to hear if there are any other ways to connect to the database using PYTHON
cx_Oracle 6 and higher already support connecting to any Oracle database from 9i all the way up to 18c depending on the client that you are using. cx_Oracle requires Oracle Client libraries at least at 11.2. You can see the interoperability notes here. Since anything earlier than 11.2 is no longer supported anyway, that should be adequate in almost all circumstances.
You can also use ODBC to connect to the database but that won't perform as well as cx_Oracle does.
I have an 11.2 Oracle database client on my corporate Windows 7 laptop and use cx_Oracle to connect to databases from version 9.2 to 12.2 without any difficulty.
The other way I connect to databases of all versions is to wrap Python around the Linux version of Oracle's sqlplus utility. This way I do not need to install cx_Oracle and can run with an older Oracle client and the version of Python that comes with the Linux distribution. In my case I am running on Redhat 6 which comes with Python 2.6. I connect to databases from version 8.1 to 12.2 in this way.
I have a blog post about how I run sqlplus from Python on Linux: https://www.bobbydurrettdba.com/2016/11/04/running-sqlplus-from-a-python-script/
Bobby

How do I install Oracle Enterprise Repository 12c on Macbook?

I am trying to install the Oracle SOA stack of products on my MacBook but I am stuck at one very crucial point. Need a database on my machine for OER but cannot figure out what to do?
Here is what I have already done:
Successfully installed Oracle SOA Suite 12c
I have downloaded OER
I have tried installing Oracle Database 12c, with Linux version even though as there is no download choice for Mac. I faced following error : ./runInstaller: line 252: /Users/madhu/Oracle/product/18.0.0/dbhome_1/install/.oui: cannot execute binary file
I checked supported database for OER but did not find MySQL or SQLlite or any other product than Oracle and Microsoft SQL server.
Microsoft SQL server is obviously not supported in MacOS
So at the as for OER a database is essential and I cannot install any supported database on MacBook.
Can you please help me?
Even if the installer script doesn't instantly fail, that doesn't mean that the Linux version of ODB 12c will magically work on OS X.
Install ODB or SQL Server on something else and configure OER to connect to it. That "something else" can be a virtual machine running on your Mac.
Install VirtualBox (or your preferred hypervisor);
Install Linux or Windows on a virtual machine;
Install and configure Oracle Database or SQL Server on that VM;
Consult the manual to configure networking for your virtual machine so the database is accessible from your host machine.
WebLogic will run on the Mac but FMW/SOA will not - at least not stable. Neither will the database.
& I know I teach/install/admin these products and am a certified Oracle trainer. I’ve tried...my time was worth more than it took to try and get it to work outside a vm-natively. I assume yours is too.
Unless you are actively trying to learn how to install them, then yes #backgammon is right, install them in a VM.
BUT, if you just want to use them and are not as interested in installation, then use one of the prebuilt -preconfigured FMW virtual box images here that will run on the Mac under virtual box.
Then Install OER in that image.
But, be advised OER is no longer sold by Oracle, even though it’s available for download.
It has been replaced by the API cloud service product.

How to install Visual Studio 2008 and MS SQL Server 2008 in Ubuntu?

I would like to install Visual Studio 2008 and MS SQL Server 2008 on Ubuntu OS which I have in my PC.
Wine is great, but using it for either Visual Studio or MS SQL Server is probably pushing it. Both are behemoths that tend (especially VS) to use the latest MS APIs. More to the point, both VS and MSSQL are listed as Garbage in Wine's db, meaning compatibility is very poor.
I would recommend you take a serious look at the available tools on GNU/Linux, such as MonoDevelop, Mono, Eclipse, MySQL, etc. You can use cross-platform build technologies, such as nant to build the same apps on both platforms.
If that isn't an option, then you will have to resort to virtualization, as noted by sean.
This answer might help you. Visual Studio and SQL Server are for Windows OS variants. You'll need some sort of VM to run on Ubuntu.
If you have some sort of Windows OS disks available to you (XP / Vista / 2008), then you could consider installing Windows under VirtualBox, and installing your software inside that VM. That used to work really well for me when I was still on Ubuntu.
I've been developing using Visual Studio in Ubuntu since version 10.04, and there is a solution, although I would recommend that you run the 64 bit version of Ubuntu and have at least 4Gb of ram available.
Install the latest version of VirtualBox (download from the website, rather than using the ubuntu repository), and install Windows as a virtual machine. You need to allocate a virtual disk and then, when the virtual machine starts for the first time, either install Windows from a CD/DVD, or select a CD image to use within VirtualBox.
You will also see, with the later versions of VirtualBox, something called "seamless mode". This essential hides the virtual machine, so that instead of running in a window, it will integrate with the Ubuntu desktop. That way, you can run Visual Studio in what looks to be native to Ubuntu.
I have tried both VMWare Player and VirtualBox and found VirtualBox to be better for my setup. Although VMWare Player has something called VMWare tools, which provides an API layer to better translate Windows calls to your video card, this can be temperamental if you're using an ATI card (speaking from experience with a Mobility Radeon HD 4600). Nvidia provide much better driver support in Linux than ATI do.
Hope this helps!
I think is better to simply dual boot to write your .net code. It will put your hardware to better use, and you will be able to focus more since all the programs on which you waste your time will be on the linux side :D (at least that's the upside for me)
To use Visual Studio 2008 and MS SQL Server 2008 in any Linux..
Just try sharpdevelop: http://www.icsharpcode.net/opensource/sd/

Resources