Is it possible to install WINE in Rocky 9?
Is there a recipe, somewhere?
I can’t find it.
Thanks.
Is it possible to install WINE in Rocky 9?
Is there a recipe, somewhere?
I can’t find it.
Thanks.
Yes, wine packages are in EPEL repositories:
dnf install epel-release
dnf install wine
So, it is!
I hadn’t bothered to ask here because a lot of the info I found online pointed towards the WineHQ folks not supporting Rocky.
Not having a DEV Rocky 9.4 machine where IT would let me do, undo and experiment, I went the container route:
But, just this afternoon, IT gave me access to a DEV Rocky 9.4 machine and I just installed Wine:
Here is the output from winecfg:
>> winecfg
wine: created the configuration directory '/home/<myuserid>/.wine'
0048:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x80004002
0048:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x80004002
0048:err:ole:apartment_get_local_server_stream Failed: 0x80004002
0048:err:ole:start_rpcss Failed to open RpcSs service
0050:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x80004002
0050:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x80004002
0050:err:ole:apartment_get_local_server_stream Failed: 0x80004002
0098:err:mscoree:LoadLibraryShim error reading registry key for installroot
0098:err:mscoree:LoadLibraryShim error reading registry key for installroot
0098:err:mscoree:LoadLibraryShim error reading registry key for installroot
0098:err:mscoree:LoadLibraryShim error reading registry key for installroot
00a0:err:mscoree:LoadLibraryShim error reading registry key for installroot
00a0:err:mscoree:LoadLibraryShim error reading registry key for installroot
00a0:err:mscoree:LoadLibraryShim error reading registry key for installroot
00a0:err:mscoree:LoadLibraryShim error reading registry key for installroot
00a8:err:environ:init_peb starting L"C:\\windows\\mono\\mono-2.0\\support\\removeuserinstalls-x86.exe" in experimental wow64 mode
00a8:err:module:load_wow64_ntdll failed to load L"\\??\\C:\\windows\\syswow64\\ntdll.dll" error c0000135
00a8:err:wow:load_64bit_module failed to load dll c0000005
00a0:err:msi:execute_script Execution of script 0 halted; action L"REMOVEUSERINSTALLS" returned 1627
00a0:err:msi:ITERATE_Actions Execution halted, action L"InstallFinalize" returned 1627
wine: failed to open L"C:\\windows\\syswow64\\rundll32.exe": c0000135
wine: configuration in L"/home/<myuserid>/.wine" has been updated.
Needless to say, those errors worry me.
What I noticed was that ~/.wine/drive_c/windows/syswow64 was left empty, whereas the containerized versions of (opensuse) wine would populate such directory with a bunch of libraries. The above errors show rundll32.exe was not found.
WinMerge works:
>> wine64 WinMergeU.exe
wine: Read access denied for device L"\\??\\Z:\\", FS volume label and serial are not available.
wine: Read access denied for device L"\\??\\Z:\\", FS volume label and serial are not available.
wine: Read access denied for device L"\\??\\Z:\\", FS volume label and serial are not available.
But Foxit does not, with the same problem that syswow64 is empty:
>> wine64 FoxitPDFReader.exe
0108:err:environ:init_peb starting L"Z:\\home\\<myuserid>\\Downloads\\Foxit-PDF-Reader\\FoxitPDFReader.exe" in experimental wow64 mode
0108:err:module:load_wow64_ntdll failed to load L"\\??\\C:\\windows\\syswow64\\ntdll.dll" error c0000135
0108:err:wow:load_64bit_module failed to load dll c0000005
To wrap it up, let me just mention that I am having to ssh to the DEV machine, so, my home directory is being NFS-ed/mounted from somewhere else.
Any additional hints about the error with winecfg and the empty syswow64 folder?
Thanks in advance.
As the wine packages are managed and maintained by EPEL it probably would be best to report the problem to them.
That said, when I run winecfg
on my Rocky 9 install the only output I have is:
[ian@rocky9 ~]$ winecfg
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
010c:fixme:imm:ImeSetActiveContext (0000000000010050, 1): stub
010c:fixme:imm:ImmReleaseContext (000000000001005A, 0000000000010050): stub
0078:fixme:imm:ImeSetActiveContext (0000000000010026, 0): stub
0078:fixme:imm:ImmReleaseContext (0000000000010020, 0000000000010026): stub
and the wine packages I have installed:
[root@rocky9 ian]# dnf list installed wine*
Installed Packages
wine.x86_64 8.0-1.el9 @epel
wine-alsa.x86_64 8.0-1.el9 @epel
wine-cms.x86_64 8.0-1.el9 @epel
wine-common.noarch 8.0-1.el9 @epel
wine-core.x86_64 8.0-1.el9 @epel
wine-courier-fonts.noarch 8.0-1.el9 @epel
wine-desktop.noarch 8.0-1.el9 @epel
wine-filesystem.noarch 8.0-1.el9 @epel
wine-fixedsys-fonts.noarch 8.0-1.el9 @epel
wine-fonts.noarch 8.0-1.el9 @epel
wine-ldap.x86_64 8.0-1.el9 @epel
wine-marlett-fonts.noarch 8.0-1.el9 @epel
wine-ms-sans-serif-fonts.noarch 8.0-1.el9 @epel
wine-pulseaudio.x86_64 8.0-1.el9 @epel
wine-small-fonts.noarch 8.0-1.el9 @epel
wine-symbol-fonts.noarch 8.0-1.el9 @epel
wine-system-fonts.noarch 8.0-1.el9 @epel
wine-systemd.noarch 8.0-1.el9 @epel
wine-tahoma-fonts.noarch 8.0-1.el9 @epel
wine-twain.x86_64 8.0-1.el9 @epel
wine-webdings-fonts.noarch 8.0-1.el9 @epel
wine-wingdings-fonts.noarch 8.0-1.el9 @epel
Is that the one installed with dnf from epel ? wine-8 ?
and
do you have any contents under your ~/.wine/drive_c/windows/syswow64 ?
'cause mine is empty.
Yes, from EPEL repository. And yes it’s empty. I just don’t have all the winecfg errors that you do though.
Well, I guess having syswow64 empty means that you cannot run a 64-bit Windows program, which is what I need.
And, yes, running winecfg a subsequent time yields a reduced output, without the errors.
I only ran mine once lol but yeah I just installed it to see if I got the same as you for winecfg which I wasn’t able to replicate.
I tend to have a VM on my Linux machine with Windows if I want to run Windows apps purely because wine isn’t all that great.
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.