本帖最后由 Integral 于 2023-10-13 21:45 编辑
一、简介
Darling 是一个自由开源的、用于在 Linux 上运行 macOS 软件的转译层,工作原理类似在 Linux 上运行 Windows 软件的 Wine。
二、安装
我用的发行版是 Arch Linux,因此直接从 AUR 安装即可:
如果你使用的是基于 Debian 的 Linux 发行版,请从 Darling 的 Github Release 页面 (https://github.com/darlinghq/darling/releases) 下载 Deb 包:
三、Darling 初探
1. 启动 Darling
执行即可启动 Darling。
2. 使用 uname 查看内核信息
3. 使用 neofetch 查看系统信息
将 neofetch (https://github.com/dylanaraps/neofetch) 对应的 bash 脚本复制到 home 目录,执行如下命令:
4. 尝试运行简单的 GUI 软件
根据官方文档 (https://docs.darlinghq.org/known-partial-software.html),Classic Mac OS Finder (https://classicmacfinder.com/) 能在 Darling 上运行。
从官网下载 Classic Mac Finder(在 Linux Host 上运行以下命令):
在 Darling Shell 中执行以下命令,打开 Classic Mac OS Finder:
虽然很卡,但确实能运行(
四、更多资源
本文也发布在我的个人博客 (https://blog.integral.org.cn/archives/darling-first) 上,欢迎访问
一、简介
Darling 是一个自由开源的、用于在 Linux 上运行 macOS 软件的转译层,工作原理类似在 Linux 上运行 Windows 软件的 Wine。
- 注意,目前绝大多数 GUI 软件无法在 Darling 上运行
二、安装
我用的发行版是 Arch Linux,因此直接从 AUR 安装即可:
- paru -S darling-bin
如果你使用的是基于 Debian 的 Linux 发行版,请从 Darling 的 Github Release 页面 (https://github.com/darlinghq/darling/releases) 下载 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 初探
1. 启动 Darling
执行
- darling shell
2. 使用 uname 查看内核信息
- Darling [/Volumes/SystemRoot/home/integral]$ uname -a
Darwin IntegralPC 19.6.0 Darwin Kernel Version 19.6.0 x86_64
3. 使用 neofetch 查看系统信息
将 neofetch (https://github.com/dylanaraps/neofetch) 对应的 bash 脚本复制到 home 目录,执行如下命令:
- chmod +x neofetch
./neofetch
4. 尝试运行简单的 GUI 软件
根据官方文档 (https://docs.darlinghq.org/known-partial-software.html),Classic Mac OS Finder (https://classicmacfinder.com/) 能在 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 官网:https://docs.darlinghq.org/
- Darling 官方文档:https://docs.darlinghq.org/
- Darling 官方博客:https://blog.darlinghq.org/
- Darling Github 仓库:https://github.com/darlinghq/darling
- Wine 官网:https://www.winehq.org/
本文也发布在我的个人博客 (https://blog.integral.org.cn/archives/darling-first) 上,欢迎访问
