So I just installed the stable build for wine. My architecture is aarch64 and I have a lenovo chromebook and use linux commands on Terminal.
When I try to run commands on wine such as winecfg on Terminal, it comes back with this:
/usr/bin/winecfg: 46: exec: /usr/bin/wine: Exec format error
Now I'm no expert at Terminal and I don't know why this is happening. Is someone willing to help?
Can't run Wine commands on Linux
-
- Level 1
- Posts: 6
- Joined: Fri Mar 11, 2022 5:06 pm
Can't run Wine commands on Linux
- Attachments
-
- Screenshot 2022-03-11 5.56.06 PM.png (7.54 KiB) Viewed 2233 times
Re: Can't run Wine commands on Linux
How did you install Wine?So I just installed the stable build for wine.
The packages from WineHQ are only for amd64 and i386, so you can't these on aarch64.
-
- Level 1
- Posts: 6
- Joined: Fri Mar 11, 2022 5:06 pm
Re: Can't run Wine commands on Linux
Whoops my bad! I can use sudo dpkg add i386. I want to know how to change my architecture though.
-
- Level 1
- Posts: 6
- Joined: Fri Mar 11, 2022 5:06 pm
Re: Can't run Wine commands on Linux
I installed it from WineHQ. Is there a way I can change my architecture on linux from aarch64 to i386?
Re: Can't run Wine commands on Linux
Your CPU defines the architecture. To run amd64/i386 programs on an ARM system, you need an emulator.
If you want to run Windows ARM programs, you can use Debian's Wine packages. Unfortunately, these are a bit older.
If you want to run Windows ARM programs, you can use Debian's Wine packages. Unfortunately, these are a bit older.
-
- Level 1
- Posts: 6
- Joined: Fri Mar 11, 2022 5:06 pm
Re: Can't run Wine commands on Linux
Thanks for the advice! Because I don't really want older wine packages I will try to do a sudo apt install wine instead. Would you reccomend 32 bit or 64 bit?
Re: Can't run Wine commands on Linux
Wine 64 can run 32bit exe, but the opposite is not possibe