{{Header}} {{hide_all_banners}} {{VirtualBox_CSS}}
{{Title|title=
{{project_name_long}} for macOS: Download and Installation
}}
{{#seo:
|description={{project_name_short}} for macOS: Download and Installation
|image=logo-apple-500x500.png
}}
[[File:logo-apple-500x500.png|thumb|link=|class=hide-enlarge|100px|macOS]]
{{intro|
{{project_name_short}} for '''Apple macOS'''
'''Select''' your hardware platform below.
}}
{{ClearLine}}
{{Tab
|type=controller
|content=
{{Tab
|title= === {{project_name_short}} on Intel-based MacBook ===
|addToClass=info-box
|active=true
|content=
{{mbox
|icon=fa-solid fa-info cs-red-light
|text=
For Mac computers with an Intel processor, {{project_name_short}} can be run inside VirtualBox.
Follow the documentation on the '''[[VirtualBox]]''' wiki page.
}}
}}
{{Tab
|title= = {{project_name_short}} on Apple Silicon =
|addToClass=info-box
|content=
{{Anchor|M1}}{{Anchor|M2}}
'''For Mac M1, M2, ...'''
{{IntroLike|
{{project_name_short}} is not yet available for Mac M1, M2, ... No {{ETA}}. No need to ask for status updates. Any updates would certainly be posted in the usual channels, see [[Stay Tuned]].
}}
{{Unsupported}}
{{mbox
| type = notice
| image = [[File:Ambox_notice.png|40px|alt=Info]]
| text = At time of writing, running {{project_name_short}} on Apple Silicon is still for developers only!
}}
{{Contributor|
|status=[[Unsupported|Unmaintained]]. Development stalled.
|about=About this For {{project_name_short}} on Apple Silicon Chapter
|difficulty=hard
|contributor=Past: [https://github.com/GavinPacini Gavin Pacini] / Current: none
|support=[https://forums.whonix.org/t/whonix-on-mac-m1-arm/11310 {{project_name_short}} on Mac M1 (ARM)]
}}
'''First things first'''
* Right now, you need to build {{project_name_short}} using the build script to get it running on Apple Silicon.
* This can be improved in the future. If you want to help, please visit [https://forums.whonix.org/t/whonix-on-mac-with-arm-m1/11310 this forum thread].
'''1. Environment Setup'''
* download [https://github.com/utmapp/UTM/releases/latest/download/UTM.dmg UTM] and install
and follow these instructions to install your own Debian arm64
based VM
* Debian {{Stable project version based on Debian codename}}
netinstall disc image
* open UTM
* click "Create a new virtual machine"
* click "Virtualize"
* click "Linux"
* click "browse" and select the downloaded netinstall image iso file
* and then click "Next"
* on the "Hardware" screen just leave the defaults (4 GB RAM, 4 cores). GPU acceleration is not recommended at this time as it crashes randomly.
* and then click "Next"
* on "Storage" click "Next"
* click "Browse". Choose the directory that you want the built {{project_name_short}} images to end up in.
* and then click "Next"
* verify settings on the "Summary" page and then click "Save"
* start the new VM and install linux by following the instructions on screen.
* once installation is finished boot into VM again.
* open a terminal and run sudo apt install spice-vdagent spice-webdavd dosfstools
* change VM hostname to host
Double click the utm file to import it.
'''2. Initial Build'''
Follow the [[Dev/Build_Documentation/VM| build documentation here]] and be sure to set build parameters:
* --arch arm64
and --target utm
when running the build script as part of the [[Dev/Build_Documentation/VM#VM_Creation]] step.
* --tb open
will result in tb-updater
(update-torbrowser
) (Tor Browser Downloader by {{project_name_short}} developers) attempting to download Tor Browser during the build process but fail open (continue the build without error) should the download fail.
* --repo true
will result in [[Project-APT-Repository]] being enabled.
* --vmsize
defines the size of the virtual hard drive.
** --vmsize 15G
will create 15 GB disk size for the gateway.
** --vmsize 25G
will create 25 GB disk size for the workstation.
** These numbers are arbitrarily chosen and not yet optimized. Feel free to use higher disk sizes. Lower disk sizes are ok too. In worst case, the build will fail or the disk will full up.
** It is possible to {{kicksecure_wiki
|wikipage=Grow_Virtual_Harddisk
|text=increase the virtual hard disk size later.
}}
Build commands should Look similar to:
* {{CodeSelect|code=
~/derivative-maker/derivative-maker --flavor whonix-gateway-xfce --target utm --arch arm64 --tb open --repo true --vmsize 15G
}}
* {{CodeSelect|code=
~/derivative-maker/derivative-maker --flavor whonix-workstation-xfce --target utm --arch arm64 --tb open --repo true --vmsize 25G
}}
Provided you have built correctly, you will now have two .tar.gz
files in the ~/derivative-binary
(they will look something like {{project_name_short}}-
), one for the Workstation and one for the Gateway.
* move the .tar.gz files into the shared folder, so they are transferred to your Mac.
'''3. Import utm files'''
* unzip the tar.gz files
* double click each utm file to import it
NOTE: The utm files are completely configured and use special networking. They will work as-is, but feel free to tweak memory, or other settings.
TODO:
* [[Dev/UTM]]
* https://forums.whonix.org/t/whonix-on-mac-m1-arm-development-discussion/14136/6
}}
{{Tab
|title= = {{project_name_short}} on non-Apple Hardware Hackintosh =
|addToClass=info-box
|content=
{{Community_Support|scope=chapter}}
Virtualization on osx86 aka "Hackintosh" machines with unmodified "vanilla" kernels works well, but some additional BIOS/UEFI settings need to be confirmed to ensure system stability. As of November 2018 [https://en.wikipedia.org/wiki/VT-d Intel VT-d] is not recommended, although some systems may function if it is enabled. Later BIOS revisions from American Megatrends Inc. (AMI) seem to have improved support compared to earlier releases.
[https://en.wikipedia.org/wiki/AMD-V#I/O_MMU_virtualization_(AMD-Vi_and_Intel_VT-d) AMD-Vi] is not supported, since kernel modifications violating Apple Inc.'s End User License Agreement (EULA) are required to run macOS on platforms other than Intel. It is also recommended to disable the Integrated Graphics Processing Unit (IGPU) if [https://en.wikipedia.org/wiki/PCI_Express PCIe graphics] are in use, as well as disabling any SuperIO/Serial Port options if listed in BIOS. If virtualization problems related to unsupported architectures or features are encountered, please first consult appropriate community forums and wikis available on the Internet.
}}
}}
= Miscellaneous macOS Advice =
Machine=>Add
, then navigating to the new folder.
[https://en.wikipedia.org/wiki/ExFAT exFAT] is the easiest format for cross platform file sharing with Windows and Linux. exFAT is an option built into Apple's "Disk Utility.app" when initializing or reformatting a storage device. Select exFAT from the drop down menu that appears when you click "Erase". The default option is HFS+ on 10.13 "High Sierra" and earlier and APFS on 10.14 "Mojave".
Note that with its [https://en.wikipedia.org/wiki/POSIX POSIX] kernel and BSD roots, many issues that arise on macOS hosts can be addressed using strategies similar to other Unix-like OSes.