Winetricks

Get the latest version:

./winetricks --self-update

Install dotnet:

WINEPREFIX=/path/to/wineprefix winetricks dotnet40
WINEPREFIX=/path/to/wineprefix winetricks dotnet45
WINEPREFIX=/path/to/wineprefix winetricks dotnet451
WINEPREFIX=/path/to/wineprefix winetricks dotnet452
WINEPREFIX=/path/to/wineprefix winetricks dotnet46
WINEPREFIX=/path/to/wineprefix winetricks dotnet461
WINEPREFIX=/path/to/wineprefix winetricks dotnet462
WINEPREFIX=/path/to/wineprefix winetricks dotnet47
WINEPREFIX=/path/to/wineprefix winetricks dotnet471
WINEPREFIX=/path/to/wineprefix winetricks dotnet472
WINEPREFIX=/path/to/wineprefix winetricks dotnet48

Install dxvk:

WINEPREFIX=/path/to/wineprefix ./winetricks dxvk

Use winetricks with another wine version:

WINEPREFIX=/path/to/wineprefix WINE=/pathto/wine-git/wine ./winetricks dxvk

Documentation: https://wiki.winehq.org/Winetricks