How To Install Microsoft VC++ Runtime Using Winetricks on Fedora 24


Recently I have had the need to run a few Windows applications on my Fedora 24 laptop and have installed WINE. Scouring the Internet I come upon winetricks that allows just this and many other installations you may need like .NET or VB runtime. In this post we will cover how to install winetricks and how to install .NET 2.0 sp2 for x86.

Installation Process

First step is t make sure you have wine installed, which is verysimple. Open a terminal and type:

$ sudo dnf install wine

Now that we have that out of the way we can move on to install winetricks. First we will need to install a few required packages.

$ sudo dnf install cabextract unzip p7zip wget zenity

Now on  to installing winetricks. Installation is just the simple task of downloading the latest from github and running. From a terminal type

$ wget

Next we need to make the downloaded program as executable.

$ chmod +x winetricks

You are ready to use it in your home directory. If you want it available system wide copy it to /usr/bin or /usr/local/bin.

$ sudo mv winetricks /usr/bin

So what can you do and how do we install VC++ runtime?

Using Winetricks

By typing winetricks we will get the GUI and will be able to use it to select what we need to install. in this post we will be using the command line features. So what does winetricks offer us?

$ winetricks /?
You are using a 64-bit WINEPREFIX. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
Using winetricks 20161107 – sha1sum: 3d19f41a098a87bb66f097f5a825c39b65f2e2ce with wine-1.9.23 (Staging)
Unknown arg /1
Usage: /usr/bin/winetricks [options] [command|verb|path-to-verb] …
Executes given verbs. Each verb installs an application or changes a setting.

–force Don’t check whether packages were already installed
–gui Show gui diagnostics even when driven by commandline
–isolate Install each app or game in its own bottle (WINEPREFIX)
–self-update Update this application to the last version
–update-rollback Rollback the last self update
-k, –keep_isos Cache isos (allows later installation without disc)
–no-clean Don’t delete temp directories (useful during debugging)
-q, –unattended Don’t ask any questions, just install automatically
-r, –ddrescue Retry hard when caching scratched discs
–showbroken Even show verbs that are currently broken in wine
-t –torify Run downloads under torify, if available
–verify Run (automated) GUI tests for verbs, if available
-v, –verbose Echo all commands as they are executed
-h, –help Display this message and exit
-V, –version Display version and exit

list list categories
list-all list all categories and their verbs
apps list list verbs in category ‘applications’
benchmarks list list verbs in category ‘benchmarks’
dlls list list verbs in category ‘dlls’
games list list verbs in category ‘games’
settings list list verbs in category ‘settings’
list-cached list cached-and-ready-to-install verbs
list-download list verbs which download automatically
list-manual-download list verbs which download with some help from the user
list-installed list already-installed verbs
prefix=foobar select WINEPREFIX=/home/markh/.local/share/wineprefixes/foobar

As we stated in the beginning of the post our goal is to install Microsoft VC++ Runtime. Using the above command dlls list we can see what is available.

$ winetricks dlls list

This gives us a complete list of all that is available including .NET and Visual Basic. For VC++ Runtime we see the following options.


From this output we will install Visual C++ 2008 and Visual C++ 2010.

From the terminal type the following.

$ winetricks vcrun2008 vcrun2010

And that is all you you need to do to install VC++ Runtime. Feel free to explore more installations and options that winetricks offers and look for future posts.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.