Wine 9.16 Install Gone Wrong Somehow on RL8.10

I’m trying to get Wine 9.16 installed on my RL8.10 machine so I can make the transition from Windows. However, I’m not having much luck. I use the install method at https://techviewleo.com/install-and-use-wine-on-rocky-linux/, which involves downloading the source tar file and installing from source. It appears that epel has version 6.0.2 of wine available, which initially seemed to be causing compatibility issues as it somehow got caught up in the install.

After using dnf to remove it, winecfg works well and lists 9.16 as the current version in the About tab. However, if I try to wine or wine64 an exe file, a message pops up saying bash: wine: command not found...\Install package 'wine-core' to provide command 'wine'?. Unfortunately, this installs 6.0.2, which then causes a ton of compatibility errors. Any help would be much appreciated.

Thanks!

You could have saved a lot of trouble by not having “epel” enabled by default.

There is more disappointment in wine than any other direction in Linux. What do you plan to try to run?

Hi,

Just spun up a 8.10 and followed the instructions and results are as follows:-

wine64 --version
wine-9.16

wine
bash: wine: command not found...
Install package 'wine-core' to provide command 'wine'? [N/y]

Not sure if it helps, but the default install location is /usr/local/bin/

Does wine or wine64 run from the compilation directory?

Regards Tom.