ubuntu22安装如何安装window软件(.exe)

ubuntu未提供相应程序安装包,如何使用的ubuntu22.04 安装window提供的exe程序呢?

这里我了解有两种方案:

  1. 使用模拟器进行window程序的运行,但是肯定会有相应的性能损耗如(wine)
  2. 在linux上运行virtualbox或者vmware,在其上运行window系统,这里就不在赘述

ubuntu22.04如何通过wine运行window应用程序

  1. 下载密钥库
sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key
  1. 配置winehq国内apt源
xiaomi@-local:~$ cat /etc/apt/sources.list.d/winehq-jammy.sources 
Types: deb
#URIs: https://dl.winehq.org/wine-builds/ubuntu
URIs: https://mirrors.tuna.tsinghua.edu.cn/wine-builds/ubuntu
Suites: jammy
Components: main
Architectures: amd64 i386
Signed-By: /etc/apt/keyrings/winehq-archive.key
  1. 安装wine软件
sudo apt-get  install  winehq-stable  -y
sudo apt-get update
  1. wine软件的使用,任意目录执行要运行的程序
wine   *.exe  

在这里插入图片描述
在这里插入图片描述

wine运行程序遇到的问题

  • 运行程序warning信息
0088:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0088:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0088:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0088:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0108:fixme:win:DisableProcessWindowsGhosting : stub
0050:fixme:imm:ImeSetActiveContext (0000000000010026, 0): stub
0050:fixme:imm:ImmReleaseContext (0000000000010020, 0000000000010026): stub
0108:fixme:imm:ImeSetActiveContext (00010086, 1): stub
0108:fixme:imm:ImmReleaseContext (0001008E, 00010086): stub
0108:fixme:graphics:ShutdownBlockReasonDestroy (0001008E): stub
0108:fixme:graphics:ShutdownBlockReasonCreate (0001008E, L"Installing"): stub
0108:fixme:rstrtmgr:RmStartSession 0050C010, 0, 0050C014 stub!
0108:fixme:rstrtmgr:RmEndSession 3735928559 stub!
0108:fixme:graphics:ShutdownBlockReasonDestroy (0001008E): stub
  • 第二种报错
0024:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0024:err:winediag:nodrv_CreateWindow The explorer process failed to start.
00d4:fixme:font:freetype_set_outline_text_metrics failed to read full_nameW for font L"Ani"!
00d4:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
00d4:err:winediag:nodrv_CreateWindow The explorer process failed to start.
00d4:fixme:win:DisableProcessWindowsGhosting : stub
00d4:fixme:graphics:ShutdownBlockReasonDestroy (00000000): stub
00d4:fixme:graphics:ShutdownBlockReasonCreate (00000000, L"Installing"): stub
00d4:fixme:rstrtmgr:RmStartSession 0049F3FC, 0, 0049F400 stub!
00d4:fixme:graphics:ShutdownBlockReasonDestroy (00000000): stub
00d4:fixme:graphics:ShutdownBlockReasonCreate (00000000, L"Installing Terrameter LS Toolbox."): stub
00d4:fixme:rstrtmgr:RmEndSession 3735928559 stub!
00d4:fixme:graphics:ShutdownBlockReasonDestroy (00000000): stub
  • 其他报错信息,有网络遇到,留言,我看到会补充
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

数据工匠大壮

请狠狠粗暴的爱我!!!

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值