flatpak 安装 bottles

不得已需要运行一些exe程序,但是发现wine安装起来一大坨,污染电脑环境,查了点资料发现bottles确实比其他的方案要更通用一些,但是有些朋友装上发现第一步就卡住了,馊了半天网上没教程,下面给出解决办法。
1.通过flatpak安装好以后,开启科学上网
2.运行flatpak run com.usebottles.bottles
3.接着安装其中需要的依赖,观察log会发现

22:04:33 (INFO) Launching with URI: None 
22:04:33 (INFO) [Activate] request received. 
22:04:33 (INFO) Bottles Started! 
22:04:46 (INFO) Performing Bottles checks… 
22:04:46 (INFO) Runners found:
         - sys-wine-10.0
 

(bottles:2): Adwaita-CRITICAL **: 22:04:46.702: Trying to add GtkOverlay as a child to an AdwPreferencePage, but only AdwPreferencesPage is allowed

(bottles:2): Adwaita-CRITICAL **: 22:04:46.719: Trying to add AdwPreferencesPage as a child to an AdwPreferencePage, but only AdwPreferencesPage is allowed

(bottles:2): Adwaita-CRITICAL **: 22:04:46.719: Trying to add AdwStatusPage as a child to an AdwPreferencePage, but only AdwPreferencesPage is allowed

(bottles:2): Adwaita-CRITICAL **: 22:04:46.722: Trying to add AdwStatusPage as a child to an AdwPreferencePage, but only AdwPreferencesPage is allowed
22:04:47 (INFO) Catalog installers loaded 
22:04:48 (INFO) Catalog components loaded 
22:04:50 (INFO) Performing Bottles checks… 
22:04:50 (WARNING) No dxvk found. 
22:04:52 (INFO) Catalog dependencies loaded 
22:04:53 (INFO) Installing component: [dxvk-2.7.1]. 
22:04:53 (WARNING) File [dxvk-2.7.1.tar.gz] already exists in temp, skipping. 
22:04:53 (ERROR) Downloaded file [dxvk-2.7.1.tar.gz] looks corrupted. 
22:04:53 (ERROR) Source cksum: [b483fbc166963efba08eabbdf21586f0] downloaded: [0c822fb796756f852406051e08cb8c1f] 
22:04:53 (ERROR) Removing corrupted file [dxvk-2.7.1.tar.gz]. 
22:04:53 (WARNING) No vkd3d found. 
22:04:55 (INFO) Installing component: [vkd3d-proton-3.0]. 
vkd3d-proton-3.0.tar.gz (100%) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ (4.8MiB/4.8MiB - 254.3KiB)

22:05:16 (INFO) Renaming [vkd3d-proton-3.0.tar.gz] to [vkd3d-proton-3.0.tar.gz]. 
22:05:16 (INFO) Vkd3ds found:
         - vkd3d-proton-3.0
 
22:05:16 (INFO) Component installed: vkd3d vkd3d-proton-3.0 
22:05:16 (WARNING) No nvapi found. 
22:05:28 (INFO) Installing component: [dxvk-nvapi-v0.9.0]. 
22:05:39 (WARNING) Failed to download [https://github.com/bottlesdevs/components/releases/download/dxvk-nvapi-v0.9.0/dxvk-nvapi-v0.9.0.tar.gz] with code: 404 != 200 
22:05:39 (WARNING) No latencyflex found. 
22:05:46 (INFO) Installing component: [latencyflex-v0.1.1]. 
22:05:46 (WARNING) File [latencyflex-v0.1.1.tar.xz] already exists in temp, skipping. 
22:05:46 (ERROR) Downloaded file [latencyflex-v0.1.1.tar.xz] looks corrupted. 
22:05:46 (ERROR) Source cksum: [599c3b183da35059f5b52d989665145a] downloaded: [d41d8cd98f00b204e9800998ecf8427e] 
22:05:46 (ERROR) Removing corrupted file [latencyflex-v0.1.1.tar.xz]. 
22:05:47 (WARNING) WineBridge installation/update required. 
22:05:48 (INFO) Installing component: [winebridge-1.2.0]. 
22:05:48 (WARNING) File [WineBridge-75aa25e.tar.xz] already exists in temp, skipping. 
22:05:48 (ERROR) Downloaded file [WineBridge-75aa25e.tar.xz] looks corrupted. 
22:05:48 (ERROR) Source cksum: [a0ef3ff68f35c898dc7b3d88f623f813] downloaded: [d41d8cd98f00b204e9800998ecf8427e] 
22:05:48 (ERROR) Removing corrupted file [WineBridge-75aa25e.tar.xz]. 
22:05:48 (INFO) Runners found:
         - sys-wine-10.0
 
22:05:48 (WARNING) No managed runners found. 
22:05:55 (INFO) Installing component: [soda-9.0-1]. 
soda-9.0-1-x86_64.tar.xz (100%) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ (61.6MiB/61.6MiB - 967.7KiB)

22:07:02 (INFO) Renaming [soda-9.0-1-x86_64.tar.xz] to [soda-9.0-1-x86_64.tar.xz]. 
22:07:06 (INFO) Runners found:
         - soda-9.0-1
         - sys-wine-10.0
 
22:07:06 (INFO) Component installed: runner soda-9.0-1 
22:07:09 (INFO) Performing Bottles checks… 
22:07:09 (WARNING) No dxvk found. 
22:07:10 (INFO) Installing component: [dxvk-2.7.1]. 
dxvk-2.7.1.tar.gz (100%) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ (9.8MiB/9.8MiB - 1.0MiB)

22:07:21 (INFO) Renaming [dxvk-2.7.1.tar.gz] to [dxvk-2.7.1.tar.gz]. 
22:07:21 (INFO) Dxvks found:
         - dxvk-2.7.1
 
22:07:21 (INFO) Component installed: dxvk dxvk-2.7.1 
22:07:21 (INFO) Vkd3ds found:
         - vkd3d-proton-3.0

类似这样的,也就是说一遍安装可能不成功,要多来几次把几个关键依赖安装好就可以使用了。但是是github的源,很容易失败,所以需要科学上网。

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值