-
Set and export shell variables
Use a helper variable for the prefix name:
MYPREFIX=cudatest
These are needed by
winetricks
andwine
; they must be exported:export WINE_PREFIXES=/mnt/pfx export WINEARCH=win64 export WINEPREFIX="$WINE_PREFIXES/$MYPREFIX"
-
Create and configure a new wineprefix
wineboot -i winetricks -q prefix=$MYPREFIX msxml3 winetricks -q prefix=$MYPREFIX win10
-
Download CUDA Toolkit 10.2 local installer
wget http://developer.download.nvidia.com/compute/cuda/10.2/Prod/local_installers/cuda_10.2.89_441.22_win10.exe
-
Install CUDA Toolkit 10.2
wineconsole cmd.exe /c cuda_10.2.89_441.22_win10.exe -s {cu{dart,objdump,pti},nv{cc,prune,disasm,prof,ml_dev},memcheck,{cu{blas,fft,rand,solver,sparse},nvgraph,npp,nvrtc}{,_dev}}_10.2
Created
July 13, 2020 23:51
-
-
Save imaami/37105333c0d16210b2cac9d4032155aa to your computer and use it in GitHub Desktop.
Installing CUDA Toolkit 10.2 in Wine without a GUI
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment