Rate this post

Last Updated on January 12, 2023 by Vikash Ekka

When we use Linux based Operating system, we may need some windows based applications to run on the same operating system. Many of you don’t know how to run windows applications on Linux.
Wine is an open-source lightweight compatibility layer that allows you to run Windows-based applications on Unix-like operating systems such as Linux, FreeBSD, and macOS.
Wine translates the windows application to Linux specific language. Not all windows applications will work as they work on windows environments. You can also use a virtualization tool like VirtualBox or VMware, but they require more system resources and a Windows installation file.

The wine’s latest stable release can be installed on Ubuntu 20.04 LTS from standard and official wine repositories.

Also Read
How to Install RabbitMQ Server on Ubuntu 20.04
How to install Brave Browser on Ubuntu 20.04 LTS
How to Install uTorrent on Ubuntu 18.04 and Ubuntu 20.04 LTS

 
Prerequisites:
1. Sudo Privileges
2. Ubuntu 20.04 OS
3. Internet
 

Installing Wine On Ubuntu 20.04 LTS.


Step1. Enable 32-bit and 64-bit architecture.
The first step is to enable multiarch, which allows you to install both 64 and 32-bit packages on the Ubuntu machine:


vikash@vetechno:~$   sudo dpkg --add-architecture i386 

vikash@vetechno:~$   sudo apt update 
How to Install and Use Wine on Ubuntu 20.04

Step2. Installing Wine from apt repository


vikash@vetechno:~$   sudo apt install wine64 wine32 
How to Install and Use Wine on Ubuntu 20.04 | veTechno

 Press ‘y’ to continue installing wine.

How to Install and Use Wine on Ubuntu 20.04 | veTechno


Step3. Once the installation is complete, verify it by printing the wine version :


vikash@vetechno:~$   wine --version
How to Install and Use Wine on Ubuntu 20.04 | veTechno

Alternative: Installing Wine from the WineHQ Repository

 
Step1. Enable the 32-bit architecture and update the packages list:

vikash@vetechno:~$   sudo dpkg --add-architecture i386 

vikash@vetechno:~$   sudo apt update 

Step2. Import the WineHQ repository’s GPG key:


vikash@vetechno:~$   wget -qO- https://dl.winehq.org/wine-builds/winehq.key | sudo apt-key add -
Step3. Add the WineHQ repository to your system:

vikash@vetechno:~$ sudo apt install software-properties-common  

vikash@vetechno:~$   sudo apt-add-repository "deb http://dl.winehq.org/wine-builds/ubuntu/ $(lsb_release -cs) main"
Step4. WineHQ Stable: This is the most recent and stable release of Wine available. Use the following command to install this version:


vikash@vetechno:~$ sudo apt install --install-recommends winehq-stable   

Step5. Verify the installation succeeded


vikash@vetechno:~$   wine --version

How to configure Wine on Ubuntu 20.04 LTS.

Step1. To configure wine we have to run the winecfg command in the terminal


vikash@vetechno:~$   winecfg

A pop window will appear, click on Install and installation will start.
Now here you can see various configuration settings. Leave as default and click OK

How to Install and Use Wine on Ubuntu 20.04
 
 
Conclusion:
You you have installed wine on Ubuntu 20.04 on your system.
 

By Vikash Ekka

Hi All, My name is Vikash Ekka from India. I’m the founder and tech editor of https://www.vetechno.in. I have completed my Graduation in BCA. I love to write technical articles like Windows, Linux & MAC Tutorials, Tips, Tricks, How To fix, Tutorials About Ethical Hacking & Cyber Security Guide, and Software Review. Currently, I have been working as an IT professional since 2018.

One thought on “How to Install Wine on Ubuntu 22.04 | veTechno”

Leave a Reply

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