How to Install Wine 4.1 on Ubuntu 19.04/18.10/18.04/17.10

If you are using a Linux-based Ubuntu operating system and need to use a Windows-supported application, you can opt for Wine, which is completely legal and free.

How to Install Wine on Ubuntu

How to Configure and Use Wine on Ubuntu 17.10 / 18.10 /19.04

Under normal circumstances, you cannot run a Windows application on Linux / Ubuntu. Therefore, to run a Windows program on your system using the Wine program, you can install and run any program on your computer.

You can run Windows applications with WineHQ software on Ubuntu 14.04 / 16.04 / 16.10 / 17.04 / 17.10 / 18.04 and Ubuntu 18.10 / 19.04. After installing this program on your computers, you can install easily run the Microsoft OfficeAdobe PhotoShop programs.

In this article, we will examine step by step how to install WineHQ on Ubuntu, one of the most popular Linux distributions.

The latest version of Wine is 4.1. WineHQ team released Wine 4.1 Stable, Devel and Staging versions on January 22, 2019.

How to Install Wine 4.1

The latest version of Linux / Ubuntu is 18.10 (Cosmic Cuttlefish). You can install a Notepad ++Photoshop program on your Ubuntu 18.10 system, and even run the most popular mobile game PUBG Mobile and PUBG PC on your Ubuntu computer today.

To build Wine on your system, follow the steps below.

   Step 1

First, ping Google with the “ping -c 2 www.google.com” command in Ubuntu Terminal to test the Internet connection.

ping -c 2 www.google.com

 
ping -c 2 www.google.com

   Step 2

If your Ubuntu system is 64-Bit, enable 32-Bit architecture. To do this, execute the command “sudo dpkg –add-architecture i386” in the Terminal.

sudo dpkg --add-architecture i386

 
sudo dpkg --add-architecture i386

   Step 3

You need to download Key from WineHQ. In the terminal, execute the command “wget ​​-nc https://dl.winehq.org/wine-builds/winehq.key“.

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

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

   Step 4

To add the Key, execute the command “sudo apt-key add winehq.key” in the Terminal.

sudo apt-key add winehq.key

 
sudo apt-key add winehq.key

   Step 5

To add WineHQ to your repo, execute [ sudo apt-add-repository ‘deb https://dl.winehq.org/wine-builds/ubuntu/ cosmic main’ ].

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

 
sudo apt-add-repository

   Step 6

Run the “sudo apt update” command to update the Ubuntu package list.

sudo apt update

 
sudo apt update

   Step 7

Now run “sudo apt install –install-recommends winehq-stable” to start the installation.

sudo apt install --install-recommends winehq-stable

 
sudo apt install --install-recommends winehq-stable

   Step 8

Press Y to confirm the installation of dependent packages for Wine, then press Enter.

Do you want to continue?

   Step 9

Click on the Install button to install the Mono package to ensure that applications that require the .NET framework run correctly.

Wine Mono Installer

   Step 10

Also, click the Install button to install the Gecko package required for embedded HTML applications.

Wine Gecko Installer

   Step 11

After installing Wine, you can learn the Wine version by using the “wine –version” command on the Terminal. You must also use the “winecfg” command to run it.

wine --version

   Step 12

After you have successfully set up Wine, you can check the version of the program in the About section.

Checking WineHQ Version

Step-by-Step Wine Configuration ⇒ Video

You can watch the video below to install Wine step by step and also subscribe to our YouTube channel to support us.


How to Install Wine on Ubuntu 17.10

After you make sure you have an Internet connection to run WineHQ on Ubuntu 17.10, you can proceed to the installation steps.

To check your Internet connection, open Terminal in Ubuntu and test your connection with the ping -c 2 www.google.com command.

   Step 1

Open Ubuntu Terminal and type sudo dpkg –add-architecture i386 and press Enter.

Enabling 32-Bit Architecture in Ubuntu

   Step 2

To download the Wine Key file, type the following command and press Enter.

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

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

   Step 3

After downloading the Key file for Wine, execute the sudo apt-key Release.key command.

sudo apt-key Release.key

   Step 4

To add the wine program to repository, perform the following command.

sudo apt-add-repository https://dl.winehq.org/wine-builds/ubuntu/

 
sudo apt-add-repository

   Step 5

To update the Ubuntu package list, use the sudo apt-get update command.

sudo apt-get update

   Step 6

Finally, follow the command below to start the installation.

sudo apt-get install --install-recommends winehq-stable

 
Installing the Stable Version of WineHQ

   Step 7

In the image below, it states that the necessary packages for Wine will install. Press Y to continue Wine installation.

Press Y to Continue

   Step 8

The WineHQ installation will complete in approximately 5 minutes.

Downloading Packages over Terminal in Ubuntu

Wine Configuration ⇒ Video

You can watch the video below for more information on how to set up Wine and also subscribe to our YouTube channel to support us!

How to Run Windows Programs on Linux

After setting up Wine to run Windows programs on macOS, Linux, and Android, we will run Notepad++ as an example.

To install Notepad ++, first download Notepad. Move the Notepad ++ program you downloaded to the Ubuntu desktop and then follow the steps below.

   Step 1

Click on the other applications to open Notepad.exe with Wine and select Wine Windows Program Loader as in the image below.

Wine Windows Program Loader

   Step 2

The installation of Notepad on Ubuntu will start as follows. Set the language for Notepad installation and click OK.

Selecting the Installation Language

   Step 3

Continue by clicking Next in the Wizard window.

Notepad++ Setup

   Step 4

Click on the I Agree button to accept the Notepad++ ++ license agreement.

Accepting the Notepad++ License Agreement

   Step 5

After installing Notepad ++, start the program.

Running Notepad ++ in Ubuntu

   Step 6

As you can see in the image below, we ran a Windows program using the Wine program!

Text Editor Program

   Final Word


In this article, we have examined how to use Wine to run Windows applications or games on Ubuntu. Thanks for following us!

   Related Articles


How to Update the Softwares in Ubuntu
How to Install VMware on Ubuntu
How to Install Ubuntu on VMware
How to Reset Root Password in Ubuntu
How to Install VMware Tools in Ubuntu

One Comment

  1. Avatar for Mariel Opazo Mariel Opazo May 21, 2018

    This didnt work for me. Tried following all the recommendations from here too (https://askubuntu.com/questions/988145/how-to-install-wine-on-ubuntu-17-10), but they didnt work. Have the same problem as the person who asked the question and nothing has solved it so far.

    Reply

Add a Comment

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

shares
error: