How to install wine on Linux

Home > Search > How-to

If using a Graphical desktop environment, such as Gnome, KDE, or Mint, Software Manager can be used to install Wine.


If using a text only interface, enable 32-bit packages:

[root@server1 ~]# dpkg --add-architecture i386


Install the key to sign the package:

[root@server1 ~]# wget[root@server1 ~]# apt-key add Release.key


Add support for HTTP apt sources:

[root@server1 ~]# apt-get install apt-transport-https ca-certificates


Download the package:

[root@server1 ~]# wget


Uncompress the package:

[root@server1 ]# bzip2 -d wine-<version>


Extract the tar archive:

[root@server1 ]# tar -xvf wine-<version>.tar


Enter the wine folder:

[root@server1 ]# cd wine-<version>


Install the dependencies needed by wine:

[root@server1 ]# apt-get install flex
[root@server1 ]# apt-get install bison
[root@server1 ]# apt-get install libx11-dev


Install Wine.

[root@server1 ]# ./tools/wineinstall


To test this, let's download Notepad++ for Windows from Let's install Notepad++:

[root@server1 ]# wine /home/root/npp-<version>.exe


Add a Comment

We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.

Please enter in the box below so that we can be sure you are a human.