in cmd-line,how to use winehq like wine open .exe file without wine

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
chenyao
Newbie
Newbie
Posts: 1
Joined: Fri Jun 18, 2021 2:04 am

in cmd-line,how to use winehq like wine open .exe file without wine

Post by chenyao »

In Ubuntu system, terminal command line command to open xxx.exe file, how not to add the command "wine"
like :

in wine version 5.0,command line : test.exe
get error.

in wine version 1.6,command line : test.exe
no error and the file work correctly

Thanks for your help!
User avatar
dimesio
Moderator
Moderator
Posts: 13200
Joined: Tue Mar 25, 2008 10:30 pm

Re: in cmd-line,how to use winehq like wine open .exe file without wine

Post by dimesio »

My guess is your 1.6 package is an Ubuntu one, whereas you're using the WineHQ package for 5.0. As stated on our Ubuntu wiki page, one of the differences between the distro packages and the WineHQ ones is that
Binfmt_misc registration is not added. Consult your distro's documentation for update-binfmts if you wish to do this manually.
Locked