How to install Wine on ubuntu 20.04

WineHQ is a compatibility layer that runs Windows applications on other operating systems, i.e., Linux, BSD, and macOS. Wine does not emulat...

WineHQ is a compatibility layer that runs Windows applications on other operating systems, i.e., Linux, BSD, and macOS. Wine does not emulate the logic of windows; instead, it translates API to POSIX operating systems. It terminates all the memory and performance restrictions of the Windows applications and integrates them in the operating systems. I will show you how to install and configure wineHQ in Ubuntu 20.04 with two easy methods. 

Installing Wine from the Ubuntu software repository:  

There are two methods available, installing from the Ubuntu repository lets you install a fully stable version of Wine. The 2nd method lets you decide whichever version you want to install on your operating system. There are currently three versions of Wine, i.e., WineHQ stable version, WineHQ staging version, and WineHQ Development version.

Method 1:  

The Wine tool is available in the Ubuntu 20.04 repository, and the recommended method to install a stable version is through the Ubuntu repository.  

Step 1:  

As always, first, update and upgrade your APT.

$ sudo apt update


$ sudo apt upgrade

Step 2:  

You have to enable “multiarch” in the terminal to define your system architecture. Also, update your APT again.

sudo dpkg --add-architecture i386
sudo apt update


Step 3: 
Now write the following command in your terminal window to install Wine recommended version.

sudo apt install wine64 wine32

Step 4: 
When the installation completes, you will be able to check the installed version via the following command.

$ wine –version

Method 2: 
To install Wine via Wine build repository, you have to remove all other wine packages such as the wine-mono or the winetricks; otherwise, it will cause dependency conflicts.

Step 1: 
As Wine needs 32-bit architecture for installation, so change it by the following command

$ sudo dpkg --add-architecture i386

Step 2:
Now download the repository key and add it to the APT through the following command

$ wget -O – https://dl.winehq.org/wine-builds/winehq.key | sudo apt-key add -

Step 3:  
Now add the repository via focal main, which is the main repository for ubuntu software.

$ sudo add-apt-repository ‘deb https://dl.winehq.org/wine-builds/ubuntu/ focal main’

Step 4:
Update your APT to save the necessary changes.

$ sudo apt update

Step 5:  
Now here comes the main part which lets you decide which package you want to install.

For Stable package: 
$ sudo apt install --install-recommends winehq-stable

For Development Package: 
$ sudo apt --install-recommends winehq-devel

For Staging Package: 
$ sudo apt install --install-recommends winehq-staging

Step 6:  
For Ubuntu WineHQ packages, you have to reconfigure the settings to enable some features which get disabled by default due to potential security risk.

$ dpkg-reconfigure wine-<packagename>-amd64 wine-<packagename> wine-<packagename>-i386

The text inside these two tags “<” “>” should be replaced with your install wine package.

Conclusion:  
I have shown you how to install all the different versions of the WineHQ utility tool in Ubuntu 20.04. Wine is one of the handiest tools, it runs most of the windows executable programs on Linux.

Source: linuxhint
Name

Advanced tutorial,6,Basic guide,8,Business information,32,Cuisine,59,Entertainment,196,Experience when traveling,4,Feng shui - Spirituality,31,Finance – Stock,124,Gamer,412,Games mobile,151,Games News,131,Games PC,80,Health,64,Information technology,156,Life,268,Make money online,14,Market analysis,22,Market news,36,News of life,85,Places to eat,2,Science,60,Software tricks,30,Stock market,62,Technology news,112,The memorable moments,4,Tourist,8,Tourist – Traveler,22,Travel destination,10,Travel services,2,Traveler,13,Virtual money,57,Virtual money information,35,
ltr
item
High Tech Brain: How to install Wine on ubuntu 20.04
How to install Wine on ubuntu 20.04
https://1.bp.blogspot.com/-JSlT8yU6IYo/X4W4Std3-GI/AAAAAAAAWbU/1RDFKqCDz28cte2JYTFI1Hi85dqDgZYTQCLcBGAsYHQ/w640-h330/wine_on_ubuntu.png
https://1.bp.blogspot.com/-JSlT8yU6IYo/X4W4Std3-GI/AAAAAAAAWbU/1RDFKqCDz28cte2JYTFI1Hi85dqDgZYTQCLcBGAsYHQ/s72-w640-c-h330/wine_on_ubuntu.png
High Tech Brain
https://www.hightechbrain.com/2020/10/how-to-install-wine-on-ubuntu-2004.html
https://www.hightechbrain.com/
https://www.hightechbrain.com/
https://www.hightechbrain.com/2020/10/how-to-install-wine-on-ubuntu-2004.html
true
7716428879874315926
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS CONTENT IS PREMIUM Please share to unlock Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy