简介

Darling 是一个自由开源的、用于在 Linux 上运行 macOS 软件的转译层,工作原理类似在 Linux 上运行 Windows 软件的 Wine

Darling

  • 注意,目前绝大多数 GUI 软件无法在 Darling 上运行

安装

我用的发行版是 Arch Linux,因此直接从 AUR 安装即可:

paru -S darling-bin

如果你使用的是基于 Debian 的 Linux 发行版,请从 Darling 的 Github Release 页面下载 Deb 包:

wget https://github.com/darlinghq/darling/releases/download/v0.1.20230310_update_sources_11_5/darling_0.1.20230310.jammy_amd64.deb
sudo apt install ./darling_0.1.20230310.jammy_amd64.deb

Darling 初探

启动 Darling

执行 darling shell 即可启动 Darling。

darling-start.png

使用 uname 查看内核信息

Darling [/Volumes/SystemRoot/home/integral]$ uname -a
Darwin IntegralPC 19.6.0 Darwin Kernel Version 19.6.0 x86_64

使用 neofetch 查看系统信息

neofetch 对应的 bash 脚本复制到 home 目录,执行 ./neofetch

chmod +x neofetch
./neofetch

darling-neofetch.png

尝试运行简单的 GUI 软件

根据官方文档Classic Mac OS Finder 能在 Darling 上运行。

从官网下载 Classic Mac Finder(在 Linux Host 上运行以下命令):

wget https://bitbucket.org/bszyman/classic-finder-app/downloads/Classic-Finder-1.1.3.zip
unzip Classic-Finder-1.1.3.zip

在 Darling Shell 中执行以下命令,打开 Classic Mac OS Finder:

Darling [/Volumes/SystemRoot/home/integral]$ ./Classic\ Finder.app/Contents/MacOS/Classic\ Finder 

虽然很卡,但确实能运行(

darling-classic-finder.png

更多资源

文章作者: Integral
本文链接:
版权声明: 本站所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 Integral's Blog
Linux Linux
喜欢就支持一下吧