Download the latest version wine:
https://wiki.winehq.org/Ubuntu
Download winetricks:
wget https://raw.githubusercontent.com/Win...
Don't forget make the winetricks executable:
chmod +x winetricks
Create the wineprefix:
WINEARCH=win32 32-bit prefix,
WINEPREFIX="Your directory" winecfg
Make sure, that you write commands WINEPREFIX WINEARCH with upper register.
To install windows dll libraries use:
WINEPREFIX="Your directory" sh winetricks