How to Install Wine on Linux

One of the main obstacles that many users coming from Windows to Linux face is the impossibility of installing certain Windows Applications. A clear example is Microsoft Office which is not available for Linux. While it is true that LibreOffice Writer is a solid alternative, it is also true that it is not Microsoft Word. For this reason, Wine has been created to allow the installation of Windows applications on Linux. So, this post is about how to install Wine on Linux.

Wine for Linux

Wine is one of the applications that have more repercussions in Linux. It is an execution layer that allows applications developed for Windows to run on Linux.

So you come from Windows and you need an application that is not available for Linux, Wine is for you. Anyway, remember that it always accomplishes its task, and depending on the program, it might not work.

So let’s get started.

Install Wine on Linux

Because Wine is very popular and veteran, it is available for most Linux distributions. However, in some cases, it requires a previous step which is the enabling of another processor architecture.

Install Wine on Ubuntu 20.04 / Debian 10

For these two Linux distributions, you must first enable the i386 architecture. This must be done using amd64, or, in other words, a 64-bit system.

So, open a terminal and run.

:~$ sudo dpkg – add-architecture i386

Once it is over, you need to refresh APT.

:~$ sudo apt update

And now you can install Wine with this command.

:~$ sudo apt install – install-recommends wine64 wine32

The program requires many rooms so it will take a while.

Install Wine on Fedora 32 / 31

The Wine development team provides a repository for various versions of Fedora. This repository allows for the installation of development versions of Wine, although this is not recommended.

If you are using Fedora 32, run the following command

:~$ sudo dnf config-manager – add-repo https://dl.winehq.org/wine-builds/fedora/32/winehq.repo

For Fedora 31:

:~$ sudo dnf config-manager – add-repo https://dl.winehq.org/wine-builds/fedora/31/winehq.repo

Finally, install Wine:

:~$ sudo dnf install winehq-stable

And by the end, Wine will be settled and ready for the work.

Install Wine on OpenSUSE 15.1

In the case of OpenSUSE, Wine is in the “Emulators” repository for this distribution. So you have to add it first and then install it.

So, to add the repository:

:~$ sudo zypper addrepo https://download.opensuse.org/repositories/Emulators:Wine/openSUSE_Leap_15.1/Emulators:Wine.repo

Then, refresh the OpenSUSE package configuration with the following command:

:~$ zypper refresh

And finally, he installs Wine.

:~$ zypper install wine

And now to wait for the installation to be completed.

Using Wine on Linux

Once Wine is installed, you can check the operation of it with the following command:

:~$ wine – version

And to use Wine, just use the command and pass it an EXE file as a parameter.

:~$ wine [exe-file-path]

And then you can run your Windows application. Remember that you can not always get the results you want.

Conclusion

That all Windows applications are compatible with Linux is a dream that many people have. However, for whatever reason, this cannot be and then some problems arise. In this sense, installing Wine on Linux can help to run Windows applications with quite good results in some cases.

Share This: