Logo
  • Ubuntu
  • CentOS
  • Debian
  • Fedora
  • RedHat

How to Install Wine on Ubuntu 20.04 - DesignLinux

Mar 13 2021
designlinux 0 Comments
How to Install Wine on Ubuntu 20.04

Wine is an open-source compatibility layer which used to run the Windows applications on Linux systems. At the starting level, Wine was supporting only few windows applications but now it is supporting thousands of applications. In this article we will show you how to install wine on Ubuntu 20.04 system.

You can get the list of tested and confirmed applications at the Wine AppDB database. All the applications may not work as normal applications in windows. If the Wine is not fulfilling your requirement you can also use the virtualization tool like VirtualBox or VMware. The virtualization require more system resources and a Windows installation file.

Install Wine 5.0 on Ubuntu#

In the default Ubuntu repository, the Wine package is included and you can easily install with apt package manager. But the version of package will be older than the latest version of Wine. Make sure your are logged in as root or user with sudo privileges.

Step 1 – Check System Architecture#

There are two versions of Wine available for 32-bit and 64-bit architecture. So you can check your system architecture by typing:

lscpu

In output, CPU op-mode(s) entry tells you about the architecture of your Ubuntu system.

Step 2 – Enable Multi Architecture#

Most of the Windows applications are built for 32-bit architecture. So will enable multi architecture to allow installation of both 64 and 32-bit packages on the machine:

sudo dpkg --add-architecture i386
sudo apt update

Step 3 – Install Wine#

After the enabling multiarch, now you can install the Wine using the following command:

sudo apt install wine64 wine32

Step 4 – Verify Installation#

Once the installation is complete, verify it’s version by typing:

wine --version

It will show you something like below:

wine-5.0 (Ubuntu 5.0-3ubuntu1)

Install Wine 6.0 on Ubuntu#

Perform the following steps to install Wine 6 on Ubuntu 20.04 system.

Step 1 – Enable Multi Architecture#

If you are running a 64-bit Ubuntu system, enable the 32-bit architecture and update the packages list:

sudo dpkg --add-architecture i386
sudo apt update

Step 2 – Import GPG Keys#

Import the WineHQ repository’s GPG key using below command:

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

Step 3 – Add WineHQ repository#

To add the WineHQ repository to your system:

sudo apt install software-properties-common
sudo apt-add-repository "deb http://dl.winehq.org/wine-builds/ubuntu/ $(lsb_release -cs) main"

Step 4 – Install Wine#

sudo apt install --install-recommends winehq-stable

This will install packages and take some time to complete.

Step 5 – Verify Version#

Check the version of installed wine by typing:

wine --version
wine-6.0

That’s it. The wine has been installed on your system and ready to use.

Conclusion#

In this article, we shown you how to install Wine on Ubuntu 20.04 system.

If you hit a problem or have feedback, leave a comment below.

Related

Tags: ubuntu, wine

How to Install Flameshot Screenshot Tool in Linux

Prev Post

How to Install Asterisk on Ubuntu 20.04

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
  • 1
  • 489
  • 574,979

DesignLinux.com © All rights reserved

Go to mobile version