• Home
  • Linux
  • Ubuntu
  • Debian
  • CentOS
  • Linux Commands
  • About Us
  • Donate
TecNStuff
Menu
  • Home
  • Linux
  • Ubuntu
  • Debian
  • CentOS
  • Linux Commands
  • About Us
  • Donate

How to Install Wine on Ubuntu 20.04

Written by Admin, Updated On May 18, 2021
ubuntu, wine
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.

If our content helps you, please consider buying us a coffee

Thank you for your support.

Share On
Share on Facebook
Share on Twitter
Share on Reddit
Share on Tumblr
 Previous Article How to Install Microsoft Edge Browser on Ubuntu 20.04
Next Article   How to Install Puppet on Ubuntu 20.04

Related Posts

  • How to Install Apache, MySQL, PHP (LAMP) on Ubuntu 22.04

    How to Install LAMP on Ubuntu 22.04

    March 20, 2023
  • How to Install LEMP Stack on Ubuntu 22.04

    How to Install LEMP Stack on Ubuntu 22.04

    March 18, 2023
  • How to Install Memcached on Ubuntu 22.04

    How to Install Memcached on Ubuntu 22.04

    March 16, 2023

Leave a Reply Cancel reply

DigitalOcean Referral Badge

Popular Posts

  • How to Install Microsoft Edge Browser on Ubuntu 22.04
    How to Install Microsoft Edge Browser on Ubuntu 22.04 March 14, 2023
  • How to Install Ruby on Ubuntu 22.04 LTS
    How to Install Ruby on Ubuntu 22.04 LTS February 27, 2023
  • How to Install LEMP Stack on Ubuntu 22.04
    How to Install LEMP Stack on Ubuntu 22.04 March 18, 2023
  • How to Install Set Up Apache Virtual Hosts on Ubuntu 22.04
    How to Set Up Apache Virtual Hosts on Ubuntu 22.04 March 2, 2023
  • How to Install MariaDB on Debian 11 Bullseye
    How to Install MariaDB on Debian 11 Bullseye March 8, 2023
© 2020 TecNStuff All rights reserved. This website is using and storing cookies on your browser. By using this website you agree our Privacy Policy.  Follow us -  Twitter | Facebook