How to install WineHQ in Ubuntu 20.04

How to install WineHQ in Ubuntu 20.04

Let’s check How to install wine on ubuntu 20.04. Wine is free software for running Windows programs on Unix-like operating systems.

In order to use Wine, you need to install a program called WineHQ. This program helps you download and install Wine and other components of the Wine program, such as the configuration tool.

This tutorial will enable you to install WineHQ in Ubuntu Linux. Wine is a 32-bit compatibility layer capable of running Windows applications on x86-based Linux machines. .

It includes both user mode and kernel mode components, which, taken together, allow Windows programs to run without native Windows.

Installing WineHQ

  • Let’s start Installing Wine in Ubuntu.
  • Firstly, Search Terminal in all apps. And open the terminal.
 open Ubuntu terminal 1
  • Type Below command to install package .
sudo dpkg --add-architecture i386 
  • Next Enter the password of your user. The password that you enter while logging in the system.
add-architecture i386 Ubuntu
  • Now, enter the command below to clone tthe reprository and give the program the acess key.
wget -nc https://dl.winehq.org/wine-builds/winehq.key
sudo apt-key add winehq.key
Ubuntu terminal 3
  • You next hit enter. The command will automatically be loaded.
Ubuntu terminal 4
  • If you see OK in the next line you are good to go.
  • Next, Enter the below command to get the repository of wine in your system.
sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ hirsute main'
Ubuntu terminal 5
  • Once update the package. Enter the command below. This will update all packages of your Ubuntu system. Keep Updating this one.
sudo apt update
update the ubuntu system
  • So, To install the Stable version of WineHQ. Enter the below command to get the version installed via apt.

sudo apt install --install-recommends winehq-stable
  • So, To install the Development version of WineHQ. Enter the below command to get the version installed via apt.
sudo apt install --install-recommends winehq-devel
  • So, To install the Staging version of WineHQ. Enter the below command to get the version installed via apt.
sudo apt install --install-recommends winehq-staging
Install  winehq in Ubuntu
  • To confirm or continue the installation enter Y.
To confirm or continue the installation enter Y during wine installation in Ubuntu
  • If in case the above process didn’t worked of installing the WineHQ.
  • Just type the below command. This will fetch the wine installation from the ubuntu packages.
sudo apt install wine
Install wine in ubuntu 20.4
  • Enter Y to confirm the installation.
Enter Y to confirm the installation when install wine in ubuntu
  • To check that the installation is done sucessfully type wine –version.
wine --version
  • To get any help in wine or to get the commands of wine just type wine -help.
wine -help

Ubuntu – WineHQ Wiki

Configuring The WineHQ

  • So, Type winecfg to open the WineHQ menu.
winecfg
run winecfg command in ubuntu
  • Firstly, The WineHQ menu will appear.
  • Also, here you will be installing the .exe file. The windows installation file.
open wine configuration in ubuntu
  • You can change the windows version. Like
  1. The Windows 10
  2. Windows 7
  3. Windows XP
select os version in wineHQ

Installing a windows software

So, the wine is installed to run a windows software. Let’s do it.

Here I am installing Notepad ++.

  • First go to the browser and download the software.
  • Select its version that you want to download.
  • Click on Download option and save it.
  • Go to your download folder and find the .exe file that you have downloaded.
  • Right click on the file and select open with other application.
  • Select there Wine Windows Package Installer.
  • Select the Language to continue the installation.
  • Click on Next.
  • Next click on I agree to agree the terms and condition.
  • You will see that the c folder will be automatically selected donot change that one.
  • Now, Click on Next.
  • Lastly, Click on Finish.
  • You will see that you have sucess fully installed and run the windows program.

Conclusion

WineHQ is a community-driven project whose goal is to create a Windows API compatibility layer for Linux and other UNIX-like operating systems.

Wine provides a standard means of running Windows applications on other operating systems.

While you may be using Linux simply because you prefer it over Microsoft Windows, many people run Windows programs (such as Microsoft Office) on top of WineHQ so they can get more out of their computer.

It works on almost any distribution — from Fedora to Debian, Ubuntu, and all of the many distros in-between. It has an easy-to-use interface with detailed instructions for each program. Since Wine is free software under constant development, you’ll need a ‘bottle’ (aka build) of the Wine program itself every once in a while.

With WineHQ you can find both official releases in addition to recent test builds. You also have the option of installing apps by manual download or using a built-in version management system for all your apps. Hope you get How to install wine on ubuntu 20.04.

Last Check out:

Microsoft Exchange Server Installation – SIMITECH

Install SQL Server 2019 on Windows step by step- SIMITECH

Rate this post
Jeet Ghosh1
Follow Me
Latest posts by Jeet Ghosh1 (see all)