This tutorial is going to show you how to install Wine on Linux Mint 19.1 Tessa. Wine (which stands for Wine Is Not an Emulator) is a free and open-source compatibility layer that aims to run Windows programs on Linux and Unix platforms.

Install Wine on Linux Mint 19.1 From the Graphical User Interface (GUI)

Open software manager from the Mint menu.

Search wine in the software repository and select wine-stable.

Click the Install button to install wine on your system.

If the installer tells you that additional software are going to be installed, click the continue button. Then enter your password.

Wine will be installed in /opt/wine-stable/ directory. After the installation is complete, we need to add /opt/wine-stable/bin/ to the user PATH. Run the following command to open the .profile file. Nano is a command line text editor. The ~ (tilde) represents your home directory.

nano ~/.profile

Press Ctrl W, then Ctrl V to move the cursor to the bottom. Add the following line at the end of the file.

export PATH="$PATH:/opt/wine-stable/bin"

To save the file, press Ctrl O, then press Enter to confirm. To exit the file, press Ctrl X. After that, log out and log back in for changes in .profile to take effect.

Install Wine on Linux Mint 19.1 in Terminal

Open up a terminal window by pressing the keyboard shortcut Ctrl Alt T, or by clicking the terminal icon in the tool bar.

Then run the following command to check if you have a 32 bit or 64 bit system.

uname -p

If your system is 32 bit, you will see

x86

If your system is 64 bit, you will see

x86_64

If your system is 64 bit, enable 32 bit architecture with the following command.

sudo dpkg --add-architecture i386

Next, run the following command to download the public key for the Wine repository.

wget -nc https://dl.winehq.org/wine-builds/winehq.key

And import this key to the system keyring.

sudo apt-key add winehq.key

Then, issue the following command to add Wine repository.

sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'

Update package repository cache and install Wine stable version.

sudo apt update

sudo apt install --install-recommends winehq-stable

Things to Do After Installing Wine

Before you download any Windows .exe file and use Wine to install Windows program, you need to run the Wine configuration program by issuing the following command in the terminal.

winecfg

It will create a .wine directory, also known as wine prefix or wine bottle, under you home directory. The virtual C drive will be created in this directory. Also this command will help you install Wine mono and Wine gecko package.

After Wine Mono and Wine Gecko are installed, you can close the Wine configuration window.

Basic Steps of Installing Windows Programs on Linux with Wine

To install a Windows program on Linux with Wine, first you need to download the .exe installer file to your hard drive. Then open your file manager, right-click on that file and select Open with Wine Windows Program Loader in the context menu. After that, follow the install instructions.

If you can’t see this option in the context menu, you can open up a terminal window, use the cd command go to the directory that contains the .exe file and run the following command. Replace program-name with the real program name.

wine program-name.exe

Conclusion

I hope this article helped you install Wine on Linux Mint 19.1. As always, if you found this post useful, then subscribe to our free newsletter to get new tips and tricks 🙂

Rate this tutorial

[Total: 8 Average: 4.9]