Logo
  • Ubuntu
  • CentOS
  • Debian
  • Fedora
  • RedHat

How to Install Wine 6.0 in Ubuntu - DesignLinux

Jan 25 2021
designlinux 0 Comments

Wine is a nifty utility that allows users to run Windows applications inside a Linux environment. Wine 6.0 is finally out, and it ships with an array of numerous improvements and a total of 40 bug fixes.

Some of the key areas that have witnessed great changes include:

  • Text console redesign
  • Vulkan support enhancements
  • Text and fonts
  • Kernel objects & functions
  • An array of core modules in PE format.
  • DirectShow and Media Foundation support.
  • Improvements in audio & video frameworks.

For a more comprehensive list of the numerous changes that have been made, check out Wine’s announcement.

The latest release is dedicated to Ken Thomases who, before his untimely death over the Christmas period, was a seasoned & brilliant developer who was behind Wine support in macOS. Our thoughts and prayers go out to his colleagues, family, and friends.

Let’s shift gears and focus on how to install Wine 6.0 on Ubuntu 20.04.

Step 1: Enable 32-bit Architecture

The first course of action is to enable the 32-bit architecture using dpkg command as follows:

$ sudo dpkg --add-architecture i386
Enable 32-bit Architecture
Enable 32-bit Architecture

Step 2: Add Wine Repository Key

Once the 32-bit architecture is added, proceed and add the Wine repository key using the wget command as shown.

$ wget -qO - https://dl.winehq.org/wine-builds/winehq.key | sudo apt-key add -
Add Wine Repository Key
Add Wine Repository Key

You should get an ‘OK’ output on the terminal as seen from the screenshot above.

Step 3: Enable Wine Repository

Upon adding the repository key, the next step will be to enable the Wine repository. To add the repository, invoke the command shown:

$ sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main'
Enable Wine Repository
Enable Wine Repository

Then update the system package lists as shown.

$ sudo apt update
Update System
Update System

Step 4: Install Wine 6.0 in Ubuntu

All that is left at this stage is to install Wine 6.0 on Ubuntu using the APT package manager as follows.

$ sudo apt --install-recommends winehq-stable

This will install an array of packages, libraries, and drivers.

Install Wine in Ubuntu 20.04
Install Wine in Ubuntu 20.04

Once the installation is complete, verify the wine version as shown.

$ wine --version
Verify Wine Version in Ubuntu
Verify Wine Version in Ubuntu

Step 5: Using Wine to Run Windows Programs in Ubuntu

To demonstrate how you can use Wine to run a Windows program, we downloaded Rufus executable file (.exe) from the Rufus official Site.

To run the file, run the command:

$ wine rufus-3.13.exe
Run Windows Program in Ubuntu
Run Windows Program in Ubuntu

Wine will start by creating a Wine config file in the home directory, in this case, ~/.wine as shown.

Wine Configuration
Wine Configuration

When prompted to install the wine-mono-package which is required by .NET applications, click the ‘Install’ button.

Wine Mono Installer
Wine Mono Installer

The download will soon start

Downloading Wine Mono Installer
Downloading Wine Mono Installer

Additionally, install the Gecko package which is required by applications embedding HTML.

Wine Gecko Installer
Wine Gecko Installer

Select whether you want to check for application updates from time to time.

Rufus Update Policy
Rufus Update Policy

Finally, the Rufus UI will be displayed as shown.

Rufus Programe Running on Ubuntu
Rufus Program Running on Ubuntu

We have successfully installed Wine on Ubuntu 20.04 and gave you a preview of how you can execute Windows application in .exe format which normally wouldn’t run in a Linux environment.

Any thoughts or feedback on this guide? Do let us know.

Related

Tags: Ubuntu Tips, wine for linux, wine in ubuntu

How to Install LibreOffice 7.0 on Debian 10

Prev Post

Bash wait Command

Next Post
Archives
  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • September 2022
  • July 2022
  • June 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • July 2021
  • June 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • June 2020
  • May 2020
Categories
  • AlmaLinux
  • Android
  • Ansible
  • Apache
  • Arch Linux
  • AWS
  • Backups
  • Bash Shell
  • Bodhi Linux
  • CentOS
  • CentOS Stream
  • Chef
  • Cloud Software
  • CMS
  • Commandline Tools
  • Control Panels
  • CouchDB
  • Data Recovery Tools
  • Databases
  • Debian
  • Deepin Linux
  • Desktops
  • Development Tools
  • Docker
  • Download Managers
  • Drupal
  • Editors
  • Elementary OS
  • Encryption Tools
  • Fedora
  • Firewalls
  • FreeBSD
  • FTP
  • GIMP
  • Git
  • Hadoop
  • HAProxy
  • Java
  • Jenkins
  • Joomla
  • Kali Linux
  • KDE
  • Kubernetes
  • KVM
  • Laravel
  • Let's Encrypt
  • LFCA
  • Linux Certifications
  • Linux Commands
  • Linux Desktop
  • Linux Distros
  • Linux IDE
  • Linux Mint
  • Linux Talks
  • Lubuntu
  • LXC
  • Mail Server
  • Manjaro
  • MariaDB
  • MongoDB
  • Monitoring Tools
  • MySQL
  • Network
  • Networking Commands
  • NFS
  • Nginx
  • Nodejs
  • NTP
  • Open Source
  • OpenSUSE
  • Oracle Linux
  • Package Managers
  • Pentoo
  • PHP
  • Podman
  • Postfix Mail Server
  • PostgreSQL
  • Python
  • Questions
  • RedHat
  • Redis Server
  • Rocky Linux
  • Security
  • Shell Scripting
  • SQLite
  • SSH
  • Storage
  • Suse
  • Terminals
  • Text Editors
  • Top Tools
  • Torrent Clients
  • Tutorial
  • Ubuntu
  • Udemy Courses
  • Uncategorized
  • VirtualBox
  • Virtualization
  • VMware
  • VPN
  • VSCode Editor
  • Web Browsers
  • Web Design
  • Web Hosting
  • Web Servers
  • Webmin
  • Windows
  • Windows Subsystem
  • WordPress
  • Zabbix
  • Zentyal
  • Zorin OS
Visits
  • 8
  • 774
  • 610,133

DesignLinux.com © All rights reserved

Go to mobile version