一直苦恼于局域网无法运行wine软件。偶然在github上发现有大神已经编译出同时带有box86和wine的appimage软件。这解决了我燃眉之急。
简单攒了个脚本runexe,分享给大家,执行后可以直接双击运行exe程序。
1.这个runexe最大的优点是可以离线运行,因为用的appinage,自包含依赖,所以局域网无法联网,无法安装wine和box86的电脑,显得特别有用。当初弄这个东西也是为了解决局域网离线状态使用wine的问题。
2.不会破坏系统原有环境配置。
3.不限系统不限版本。
运行原理:
#! /bin/bash
sudo chmod 777 ./syswine/*.AppImage
echo "AppImage提权成功"
sudo ln -sf $(pwd)/syswine/box86-8.0_wine-stable_i386-aarch64.AppImage /usr/bin/wine
echo "创建wine软链接成功"
cp ./syswine/mimeapps.list ~/.local/share/applications/
echo "复制mimeapps.list成功"
cp ./syswine/runexe.desktop ~/.local/share/applications/
echo "复制runexe.desktop成功"
update-desktop-database ~/.local/share/applications
echo "刷新desktop数据正常"
echo "所有步骤执行成功,双击需要打开的exe程序,等待5秒,可以看到程序界面。"
相关软件分享给大家,需要的自取:
链接: https://pan.baidu.com/s/1oZ4NioB8BXtwS9-vcEITcw?pwd=5v8f 提取码: 5v8f
项目地址:https://github.com/mmtrt/box86-64_AppImage/releases
相关文件
runexe-v1.3-AMD64.7z
runexe-v1.3-ARM64.7z
box64-0.2.7-3a6df99_wine-devel_7.2_amd64-aarch64.AppImage
box64-0.2.7-3a6df99_wine-stable_4.0.4_amd64-aarch64.AppImage
box64-0.2.7-3a6df99_wine-stable_8.0.1_amd64-aarch64.AppImage
box64-0.2.7-3a6df99_wine-staging_7.2_amd64-aarch64.AppImage
box86-0.3.5-8378f9b_wine-devel_7.2_i386-aarch64.AppImage
box86-0.3.5-8378f9b_wine-stable_4.0.4_i386-aarch64.AppImage
box86-0.3.5-8378f9b_wine-stable_8.0.1_i386-aarch64.AppImage
box86-0.3.5-8378f9b_wine-staging_7.2_i386-aarch64.AppImage
wine-stable_8.0.2-x86_64.AppImage
wine-stable-i386_4.0.4-x86_64.AppImage
wine-devel_10.0-rc3-x86_64.AppImage
wine-stable-multi_4.0.4-x86_64.AppImage
wine-devel_10.3-x86_64.AppImage
wine-staging_10.3-x86_64.AppImage
wine-devel_8.21-x86_64.AppImage
wine-staging_8.21-x86_64.AppImage
wine-stable_10.0-x86_64.AppImage
wine-staging_ge-proton_8-26-x86_64.AppImage
写在最后:
有朋友帮忙做了视频演示和讲解,可以某公x号搜索- 消遣杂谈,看视频演示。
目前测试,arm机器上无法运行box64的wine appimage,报错,希望大佬能帮忙分析解决,多谢