That’s terrible! They helped me fix my system when I decided I was fancy enough to try building a new version of gcc and go off-script a bit.
IIRC I deleted library.so rather that overwriting it. If I hadn’t been running IRC on another terminal already I would have been done for.
As long as you’re doing it in a VM might as well try the MacOS version. IIRC the OS screen scaling and apples requirements that everything have vector or MIB mapped icons makes for a much nicer experience.
I don’t know if it works on a VM… just fondly remember using the apps on my MacBook 😅