Klumpen0815: - if you haven't already, install current WINE
for example in
current Ubuntu with the following console command which includes winetricks and the 32bit version:
Klumpen0815: i think these long commando chains are bad. Things get confusing very quickly if something in the middle fails.
I would break this down into individual commands
further:
- this has the same typo & -> &&
>> sudo apt install wine-devel winehq-devel winetricks
you only need one of wine-devel or winehq-devel (and winetricks isn't really needed either)
i would even suggest using winehq-stable instead. The normal user probaly isn't interested in installing the development snapshot that gets updated every second week( potentially breaking things) :)
i would just link to the
winehq wiki instead of duplicating the installation instructions. the wine people will keep their wiki up-to-date if things change (= less work for you to maintain this post ;) )
>> mv ~/.wine ~/winebck
this will fail if the user hasn't used wine before and ~/.wine doesn't exist. if it fails the commands behind won't be executed. If he has used wine before then he might get annoyed that his installed programs are suddenly gone :p
using the existing ~/.wine will likely work just fine
>> export WINEARCH=win32 && winecfg
Do you really explicitly need a 32bit prefix? With current wine versions just using the default 64bit one should mostly work.
btw this can be shortened to
WINEARCH=win32 winecfg
and since you only need it to create the prefix, you don't really need to run winecfg. this will also do
WINEARCH=win32 wineboot