YouTube Icon

Code Playground.

How to Install and Use Wine on Ubuntu 18.04


How to Install and Use Wine on Ubuntu 18.04

Wine is an open-source similarity layer that permits you to run Windows applications on Unix-like working frameworks, for example, Linux, FreeBSD, and macOS. Wine represents Wine Is Not an Emulator. It is an interface that makes an interpretation of Windows framework calls into comparable POSIX calls utilized by Linux and other Unix-based working frameworks. 

Wine isn't generally the most ideal alternative to run Windows programs on Linux. Not all Windows applications will run in Wine, regardless of whether they do, they may not act similarly that they ordinarily would. The Wine AppDB information base contains a rundown of uses that have been tried and affirmed to work under Wine. 

You can likewise utilize a virtualization apparatus like VirtualBox or VMware , yet they require more framework assets and a Windows establishment. 

This instructional exercise discloses how to introduce Wine on Ubuntu 18.04. We will tell you the best way to introduce the distro stable form 3.0 and the most recent adaptation of Wine 5.0. Similar guidelines apply for Ubuntu 16.04 and any Ubuntu-based appropriation, including Linux Mint and Elementary OS. 


To have the option to put in new bundles on your Ubuntu framework, you should be signed in as a client with sudo advantages . 

Installing Wine 3.0 on Ubuntu

The Wine bundles are remembered for the default Ubuntu stores contain and can be effectively introduced with the able bundle director. This is the least demanding approach to introduce Wine on Ubuntu. Nonetheless, the adaptation remembered for the stores may fall behind the most recent form of Wine. 

On the off chance that you are running a 64-cycle Ubuntu framework, you should empower multiarch, which permits you to introduce both 64 and 32-digit bundles on a similar machine. This is required in light of the fact that the greater part of the Windows applications are 32-cycle design. 

Start by empowering the 32-bit engineering and refreshing the bundles list: 

sudo dpkg --add-architecture i386
sudo apt update

Introduce Wine by composing the accompanying order: 

sudo apt install wine64 wine32

When the establishment is finished utilize the wine - variant order to print the Wine rendition: 

wine --version

At the hour of composing this article, the current adaptation of Wine accessible in the Ubuntu 18.04 storehouses is 3.0. 

wine-3.0 (Ubuntu 3.0-1ubuntu1)

That is it. Wine 3.0 has been introduced on your Ubuntu machine. 

Installing Wine 5.0 on Ubuntu

At the hour of composing this article, the most recent significant arrival of the Wine is rendition 5.0 

In this part, we will give a bit by bit guidelines about how to introduce Wine form 5.0 on Ubuntu 18.04. 

In the event that you are running 64-bit Ubuntu framework empower the 32-cycle design and update the bundles list: 

sudo dpkg --add-architecture i386
sudo apt update

Import the WineHQ storehouse's GPG key utilizing the accompanying wget order: 

wget -qO- | sudo apt-key add -

Add the WineHQ archive to your framework: 

sudo apt install software-properties-common
sudo apt-add-repository 'deb bionic main'

Wine 5.0 relies upon the FAudio bundle, which is excluded from the default Ubuntu 18.04. We'll introduce FAudio from the OBS archive. Enter the order underneath to import the GPG key and empower the OBS store: 

wget -qO- | sudo apt-key add -
sudo sh -c 'echo "deb ./" > /etc/apt/sources.list.d/obs.list'
sudo apt update

Introduce Wine 5.0 bundle by composing: 

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

This will introduce a lot of bundles. When finished, check the Wine establishment by composing: 

wine --version

The yield should look something like this: 


Now, Wine 5.0 has been introduced and fit to be utilized. 

Configuring Wine

To design Wine run the winecfg order in your terminal which will introduce Mono and Gecko and set up the Wine climate: 


An exchange will show up finding out if you need to introduce the wine-mono bundle: 

Installing Notepad++ on Ubuntu

Snap on the "Introduce" button, and the establishment will begin. When done, another discourse will show up provoking you to introduce Gecko. Again click on the "Introduce" button. 

At the point when the establishment is finished, the Wine arrangement discourse will be appeared. Here you can arrange different Wine settings. The default settings should be fine by and large. When completed, close the exchange box. 

Since Wine is introduced and arranged, we will disclose how to introduce Windows applications on your Ubuntu. 

In this instructional exercise, we will introduce Notepad++, which is one of the most well known content managers among Windows clients. Dispatch your program and download the Notepad++ establishment document from the Notepad++ download page . 

Once the download is finished, start the establishment by right-tapping on the .exe document and choosing "Open With Wine Windows Program Loader". 

The establishment wizard will begin, select the language and introduce Notepad++ similarly as you would introduce any application on your Windows PC. 

Windows applications are introduced in the ~/.wine/drive_c/index. 

To begin the Notepad++ editorial manager explore to the ~/.wine/drive_c/Program Files (x86)/Notepad++ catalog. 

Also, double tap on the notepad++.exe record. 


You have effectively introduced and arranged Wine on your Ubuntu 18.04 work area. We have likewise told you the best way to introduce and begin Windows applications under Wine. 

On the off chance that you hit an issue or have criticism, leave a remark beneath.