How can i run 32bit windows application 'putty.exe' with wine64 on rocky linux 8.9

I install wine-6.0.2 on rocky linux 8.9
I want to run 32bit putty.exe with wine64 on rocky linux 8.9

Is it possible to run 32bit application with wine64?

or do I need to install wine32(32bit wine) to run 32bit putty.exe

please help me…

If you’re trying to run putty, why not install it from epel?

dnf install epel-release
dnf install putty

If you insist on using wine, you would likely need a 32 bit prefix.

WINEPREFIX=$HOME/.wine32 WINEARCH=32 wine wineboot
WINEPREFIX=$HOME/.wine32 WINEARCH=32 wine putty

Actually, I have to run 32bit windows application that I develop.
So, this is not problem only putty

anyway,
I did following
WINEPREFIX=~/.wine32 WINEAPRCH=win32 wine wineboot

then, installed wine mongo, wine gecko.
but, I can not execute my putty.exe
WINEPREFIX=~/.wine32 WINEAPRCH=win32 wine /home/wine/putty.exe

error messages are
“0f0:err:process:exec_process L"Z:\home\wine\putty.exe” not supported on this system"

Question is…
Is it possible to run 32bit application with wine64 without install 32bit libraries?

Nope, you want to run 32 bit, you need 32 bit libraries. Easier - just download putty 64 bit instead…

1 Like

Alas there is no wine.i386 on Rocky (CentOS etc) but there are options like :

There is PlayOnLinux on repos but I did not check it out , also as flatpak … YMMV

There should be a native Linux version available for Putty (maybe you just need to look for the repo where it is available). You shouldn’t need to run it under wine, nor should you need a 32bit version.

I usually use Debian, & there Putty is directly installable via the package manager!

guys is on EPEL 9 repo! (wth I missed that…lol)

Thanky you for all.

I got success on rocky linux 8.9
my step is followings.

  1. dnf install epel-release
  2. dnf config-manager --set-enable powertools
  3. dnf groupinstall ‘Development Tools’ -y
  4. dnf install libgcc.i686 glibc-devel.i686 libX11.i686 freetype.i686 freetype-devel.i686 libX11-devel.i686
  5. wget https://dl.winehq.org/wine/source/6.0/wine-6.0.2.tar.xz
  6. tar xvf wine-6.0.2.tar.xz
  7. cd wine-6.0.2
  8. ./configure
  9. make
  10. make install

I tried wine-8.X source, but failed because of freetype packages.
I just suceed with wine-6.0.2 source