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.
- 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.
- 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
- You next hit enter. The command will automatically be loaded.
- 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'
- Once update the package. Enter the command below. This will update all packages of your Ubuntu system. Keep Updating this one.
sudo apt update
- 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
- To confirm or continue the installation enter Y.
- 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
- Enter Y to confirm the installation.
- 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
Configuring The WineHQ
- So, Type winecfg to open the WineHQ menu.
winecfg
- Firstly, The WineHQ menu will appear.
- Also, here you will be installing the .exe file. The windows installation file.
- You can change the windows version. Like
- The Windows 10
- Windows 7
- Windows XP
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
- How to download and install Windows 11 Step By Step - 16 March 2022
- Top Differences Between Android and Linux - 12 March 2022
- while loops in python - 16 February 2022