Facebook Twitter Instagram
    TecAdmin
    • Home
    • FeedBack
    • Submit Article
    • About Us
    Facebook Twitter Instagram
    TecAdmin
    You are at:Home»Linux Tutorials»How To Install Wine 8.0 on Ubuntu 22.04 & 20.04

    How To Install Wine 8.0 on Ubuntu 22.04 & 20.04

    By RahulJanuary 27, 20233 Mins Read

    Wine (Wine Is Not an Emulator) is an open-source application that provides compatibility with running software developed for Microsoft Windows on Unix-like operating systems. With the help of Wine, you can run Windows software on a Linux system. The development team has recently released the latest Wine 8.0 version that is available for installation on Ubuntu systems.

    Advertisement

    This tutorial helps you to install Wine on Ubuntu 22.04 and Ubuntu 20.04 LTS Linux systems. The Winehq team provides PPA for installing Wine on Ubuntu systems. So we will use official wine PPA for the package installation.

    Prerequisites

    You must have sudo privileged account access to the Ubuntu system.

    Step 1: Configure Wine PPA

    First of all, The systems running with the 64-bit architecture need to enable 32-bit architecture.

    sudo dpkg --add-architecture i386 
    

    Then, download and add the repository key to your system.

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

    After that, use the following commands to enable the Wine apt repository in your system.

    • On Ubuntu 22.04 (Jammy) LTS:
      sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ jammy main' 
      
    • On Ubuntu 20.04 (Focal) LTS:
      sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main' 
      

    This will configure the Wine PPA on your Ubuntu system.

    Step 2 – Installing Wine on Ubuntu

    Your system is ready for Wine installation. Use the following commands to install Wine packages from the apt repository. The --install-recommends option will install all the recommended packages by stable versions on your Ubuntu 20.04 system.

    sudo apt update 
    sudo apt install --install-recommends winehq-stable 
    
    In any case, you face an unmet dependencies error with the installation process, use the following commands to install wine using aptitude on Ubuntu.

    sudo apt install aptitude 
    sudo aptitude install winehq-stable 
    

    That’s it. This will install Wine on your Ubuntu 22.04 or 20.04 system along with all required packages.

    Step 3 – Verify Installation

    Wine installation has been completed successfully on your Ubuntu system. Use the following command to check the version of wine installed on your system.

    wine --version 
    
    wine-6.0
    

    Step 4 – Using Wine (Optional)

    To use wine we need to login to the GUI desktop of your Ubuntu system. After that Download, a windows .exe file like PuTTY on your system and open it with Wine as below screenshot or use the following command.

    wine ~/Downloads/putty.exe 
    

    You can also launch the application by right click on the file and selecting Open With Wine Windows Program Loader. If you don’t see this option, check this option under “Open With Other Application”.

    Launch application with Wine

    During the first startup, Winehq configure user specific environment.

    Winehq initial configuration

    After that, It will prompt you to install some required dependencies. You can install or skip them based on your requirements.

    Winehq install mono

    Finally, the application will start with Wine.

    Running exe with Wine on Ubuntu

    Due to the initial configuration, Wine will take some time to start application at first. The subsequent application launch will be quicker than the first time.

    Conclusion

    This tutorial helped you to install and use Wine on Ubuntu 22.04 and 20.04 LTS Linux systems. Now, you can run Windows applications on your Ubuntu system.

    wine Wine 8.0 winehq
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email WhatsApp

    Related Posts

    Understanding 2>&1 in Bash: A Beginner’s Guide

    How to Choose the Best Shebang (#!) for Your Shell Scripts

    Modulus Operator (%) in Bash

    Using Modulus Operator (%) in Bash

    View 7 Comments

    7 Comments

    1. Amy on September 28, 2021 6:17 am

      Thank you

      Reply
    2. terry wheaton on February 25, 2021 4:59 am

      Thanks.

      Reply
    3. victor on February 21, 2021 8:03 pm

      thanks

      Reply
    4. YJF on December 23, 2020 9:30 am

      thank you very much
      I didn’t succeed without your above instructions

      Reply
    5. MEK on November 22, 2020 9:34 am

      Thanks im wine version 5.0.3

      Reply
      • Wine Version 5.0.2 on December 13, 2020 2:45 am

        Hi wine version 5.0.3! I am your predecessor: wine version 5.0.2.

        Reply
    6. Darrell Young on October 24, 2020 10:36 pm

      Thanks !!!

      Reply

    Leave A Reply Cancel Reply

    Advertisement
    Recent Posts
    • How to List Manually Installed Packages in Ubuntu & Debian
    • 10 Bash Tricks Every Developer Should Know
    • How to Validate Email Address in JavaScript
    • Firewalld: Common Firewall Rules and Commands
    • 12 Apk Commands in Alpine Linux Package Management
    Facebook Twitter Instagram Pinterest
    © 2023 Tecadmin.net. All Rights Reserved | Terms  | Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.