How to Run Windows Software Using Wine Installation on Ubuntu: Most binary Wine packages will associate Wine with .exe files for you.
If that is the case, you should be able to simply double-click on the .exe file in your file manager, just like in Windows. You can also right-click on the file, choose “Run with”, and choose “Wine”.
What Is Wine All About?
Before installing wine on your devices you’ll need to know what it’s all about. Upon release of Linux, it had no support for applications that were developed natively for other operating systems.
Presently, Linux users have a faster approach to Windows applications on their system using Wine.
Compatibility layers such as Proton and Crossover has also been launched to allow the user to have full access to their Linux systems. You can even use Microsoft Excel on Linux using Wine. Wine supports Windows software and applications.
How to Install Wine on Ubuntu
You can download the package using Ubuntu’s official package manager (Apt), get the package from the official Wine-HQ repository, or install it using app managers.
Install Wine With Apt
First, check whether you have an x86 flavor distribution or an x64 one before you can install Wine using Apt. These packages run on both different flavors.
To check the flavor of your operating system, open up the terminal and type in:
lscpu
Look for the Architecture label in the output. If it says x86_32, your computer is running x86 flavored Ubuntu, and if it’s x86_64, then you have Ubuntu x64 installed on your computer.
Also Read: Bitmoji & Memoji and Facebook Avatar Having The Same Features
Now that you know which package you have to install, use the Apt package manager to get the package from official Ubuntu repositories.
- Launch the terminal by pressing Ctrl + Alt + T
- Install the Wine package using Apt. The package name for x86 flavor is wine32 and wine64 for x64 sudo apt-get wine32 sudo apt-get wine64
- Enter y/yes when the installation prompt comes up
Download Wine From the WineHQ Repository
The WineHQ repository is the official repository for the Wine package.
- Enter the command to enable 32-bit support on your machine
- sudo dpkg –add-architecture i386
- Add the WineHQ signing key to your system
- wget -qO- https://dl.winehq.org/wine-builds/Release.key | sudo apt-key add –
- Run the following command to import a key from the Wine repository
- sudo apt-key adv –keyserver hkp://keyserver.ubuntu.com:80 –recv F987672F
- Use add-apt-repository to add the official Wine repository to your system’s repository list
- sudo apt-add-repository ‘deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main’
- Update your system’s package lists using Apt
- sudo apt-get update
- Download the stable version of Wine on Ubuntu
- sudo apt-get install –install-recommends winehq-stable
- Enter y/yes when asked for the installation prompt