Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a speed-reading program I purchased with uses dotnet2. However, dotnet2 doesn't run on 64 bit wine. How would I install dotnet2?

share|improve this question
If laurent's answer was helpful to you, then please consider marking it as the accepted answer so others may more easily find it in the future. This is also a polite way to thank the person answering your question for helping you out. – Danatela Mar 18 '14 at 3:44
up vote 28 down vote accepted

You can have multiple wine prefix on your machine, each running as a separate wine. So you can make a 32 bits prefix and install dotnet2 in it:

This will create a new wineprefix (.wine32 in your home) and configure it as 32 bits:

WINEARCH=win32 WINEPREFIX=~/.wine32 winecfg

You can use it this way combined with winetricks to configure WINEARCH, create the prefix and install dotnet 2.0 in one command:

env WINEARCH=win32 WINEPREFIX=~/.wine32 winetricks dotnet20

or only:

env WINEPREFIX=~/.wine32 winetricks dotnet20

if you already set the WINEARCH and created the WINEPREFIX with the 1st command above.

share|improve this answer
Thanks. . . How would you install the program to that prefix? – KI4JGT Dec 26 '12 at 4:19
WINEPREFIX=~/.wine32 wine setupprogram.exe – laurent Dec 26 '12 at 4:47
@laurent how do you uninstall programs in that prefix? – jaorizabal Jun 25 '13 at 22:58
If the program has an uninstall, you can run it the same way. If not... you can remove the directory (or the files) where your program is installed (~/.wine32/drive_c/Program Files/your_program or something similar) – laurent Jun 25 '13 at 23:17
@laurent dotnet2.0 is failing to install. It keeps asking if I want to send the report to Microsoft. – KI4JGT Dec 16 '13 at 4:06

just to make it more straightforward to use wine in 32bit mode. Create a file in ~/bin/wine32 with the following content

env WINEARCH=win32 WINEPREFIX=~/.wine32 wine $*

Make the file executable to launch wine in 32bit mode using

wine32 my_exe_file_that_needs_32bit.exe

Hope that helps :-)

share|improve this answer
Rather than making a script in ~/bin (which I think is a security problem anyway), you could make a bash alias in ~/.bashrc. Just take the same line from the script and put it in a line in .bashrc like this: alias wine32='env WINEARCH=win32 WINEPREFIX=~/.wine32 wine $*' – Stephen Angelico May 18 '15 at 16:57

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.