You can install macOS on Linux with just a few clicks

Linux terminal command shell banner

Have you always dreamed of testing the famous Apple operating system, without necessarily wanting to invest in a Mac? Nothing could be simpler thanks to a project published on Github: a few commands to type and you’re done!

Tomorrow all power-users! With the tip of the day, Clubic invites you to learn a hidden or unknown function of your software, operating systems or services! All in less time than it takes to say “click”!

To perform this manipulation, you will need to have a PC or a virtual machine under Linux (this test was carried out on a Debian but should work for all distributions). Do not try to do this tutorial from the Linux subsystem installed on Windows 10, the latter does not seem to support virtualization…

Virtualization of macOS on Linux

Whether you’re doing this tutorial on a physical or virtual Linux machine, don’t forget to enable virtualization in the BIOS beforehand if you’ve never done so.

  • Go to the terminal of your Linux distribution then run the command sudo apt install qemu-kvm dmg2img pulseaudio pip git to install the qemu package and its dependencies, which will be used to virtualize the environment.
  • Create a symbolic link between the following two folders: sudo ln -s /usr/bin/qemu-system-x86_64 /usr/bin/qemu
  • Install Python Click with the command pip install -U click
  • Go to the folder of your choice then download the project sources with the git command pointing to the URL https://github.com/arindas/mac-on-linux-with-qemu.git
  • Go to the previously created folder (cd mac-on-linux-with-qemu) then run the virtual machine installation script with the command sudo ./run.sh

After a short while you should see a qemu window appear asking you to configure your macOS.

macOS qemu © Korben

© Korben

If you encounter errors during the installation of the virtual machine such as ” No module named » you will simply need to install the Python module via the pip install module_name command.

Find here all our Ubuntu tutorials

How to get started with the Linux Terminal

Current GNU/Linux distributions no longer have much to envy to Windows and MacOS. Whether Ubuntu, OpenMandriva or Garuda, the many variations of Linux have something to appeal to a wide range of users, even gamers. The use of the command line also seems to belong to the past as graphical environments have matured in recent years. And yet, it may be wise to know the use of the terminal, this tool providing significant time savings and comfort when you know how to handle it correctly!
Read more

Source : GitHub

.

Recent Articles

Related Stories