In this guide I will show you how to install Wine as-well as setting up Winetricks and installing some of the runtime libraries that you will end up needing to run Windows software and games on your Linux desktop. This guide should work for the following distributions and most of their derivatives.
- Ubuntu, Kubuntu, Lubuntu, Xubuntu
- Elementary OS
- Linux Mint
Something to keep in mind is that Linux has come a long ways since the “Linux can’t game” days, if you are planning on using Wine simply to run Steam then you may be better off just installing the native Linux Steam client. However if you are looking to run games that don’t have native Linux support or applications such as Adobe Photoshop for example, then this guide will definitely be useful.
How To Install Wine On Linux
Depending on which distribution you are running, you can install Wine by running one of the following commands. This will also automatically install winetricks which we will use to automatically install Microsoft fonts, runtime libraries, etc.
sudo apt-get install wine -y # Debian / Ubuntu / Linux Mint sudo yum install wine -y # CentOS / Fedora
How To Use Winetricks
Next we need to run winetricks to setup Wine for us. To do this just run the command winetricks, do not use sudo or you will be setting up wine for the root account instead of your own account.
Once winetricks is done configuring Wine, you should see a window with a menu, make sure you selected “Select the default wineprefix” then hit ok, after that select “Install a Windows DLL or component”. You should now be presented with a list of components, DLL files, and even Microsoft fonts that you can install.
You can now select any of the addons that you may require for your specific programs or just install many of them ahead of time if you wish to do so, for example DirectX, core fonts, etc. Once you are done simply press Ok and winetricks will start working for you.
That is all there is to it, you should now be able to execute Windows applications and exe files just like in Windows. I hope you enjoyed this guide, please don’t forget to like, comment, share. Thanks!