To be able to install macOS on Linux it is important to have VirtualBox installed. Then download the macOS image in .vdi and run a script in Shell.
Remembering that this tip is for macOS Sierra.
First download the image
Run this script
It is necessary to obey the created name of the virtual machine to work.
Copy and paste in a text editor and save with the name you want, eg
Give execute permission and execute
Only after creating the virtual machine and adding the .vdi
If it doesn’t work try to run one command at a time.
If you have any questions, see the video below. Remembering that the video is in Portuguese, but you can understand the steps just by viewing. Or even enabling subtitles.
The video has English subtitles native to the video itself and with the correct translation. To enable, use the settings in the footer of the video itself, according to the images shown here below.
CLICK ON IMAGES TO VIEW INTO LARGER RESOLUTION.
Tutorial for subtitles in Youtube