Facebook Twitter Instagram
    TecAdmin
    • Home
    • Ubuntu 20.04
      • Upgrade Ubuntu
      • Install Java
      • Install Node.js
      • Install Docker
      • Install LAMP Stack
    • Tutorials
      • AWS
      • Shell Scripting
      • Docker
      • Git
      • MongoDB
    • FeedBack
    • Submit Article
    • About Us
    Facebook Twitter Instagram
    TecAdmin
    Home»Linux Distributions»Debian»How To Install Wine 5.0 on Debian 10 (Buster)

    How To Install Wine 5.0 on Debian 10 (Buster)

    RahulBy RahulMay 26, 20192 Mins ReadUpdated:February 1, 2020

    Wine (originally an acronym for “Wine Is Not an Emulator”) is a compatibility layer capable of running Windows applications on several POSIX-compliant operating systems, such as Linux, macOS, & BSD. The Winehq team has announced the latest stable release 5.0 on Jan 21, 2020. Its source code is available for download from its official site. You may also use the package manager to install wine. Wine is an Open Source implementation of the Windows API and will always be free software.

    This article will help you to install Wine 5.0 Stable Release on Debian 10 Buster Linux system using the official repository.

    Step 1 – Prerequsiteis

    In order to run Winehq, You need to enable i386 architecture on your Debian system. Also, import the GPG key to your system by which the wine packages are signed.

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

    Use one of the following commands to enable the Wine apt repository in your system based on your operating system and version.

    sudo apt-add-repository https://dl.winehq.org/wine-builds/debian/
    

    Step 2 – Install Wine on Debian 10

    Your system is ready to install Winehq. Update the apt information with the newly added repositories. Execute the following commands. The –install-recommends option will install all the recommended packages by winehq-stable on your system.

    sudo apt update
    sudo apt install --install-recommends winehq-stable
    

    The wine packages are installed under /opt/wine-stable directory. So set the wine bin directory to the PATH environment to access commands system-wide.

    export PATH=$PATH:/opt/wine-stable/bin
    

    Step 3 – Check Wine Version

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

    wine --version 
    
    wine-5.0
    

    How to Use Wine (Optional)

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

    wine putty.exe
    

    Install wine on Debian 9

    wine winehq
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email WhatsApp
    Previous ArticleDownload MX Linux 18.03 – DVD ISO Images
    Next Article How To Install Memcached on Fedora 35/34/33

    Related Posts

    How to Create a Sudo User in Debian

    Updated:June 26, 20212 Mins Read

    How To Install XRDP (Remote Desktop) on Debian 10

    4 Mins Read

    Initial Server Setup with Debian 10/9/8

    Updated:June 25, 20214 Mins Read

    How To Install and Configure VNC Server on Debian 10

    Updated:June 26, 20215 Mins Read

    How to Install TeamViewer on Debian 10

    3 Mins Read

    How To Install Wine 5.0 on LinuxMint

    2 Mins Read

    7 Comments

    1. woodsleaf on October 14, 2019 10:12 am

      Not correct: sudo apt install –install-recommends winehq-stable
      Right: sudo apt install wine
      Not correct: version installed wine is now 4.02
      And main version 4.02 available in standard repository, if you need wine-staging 4.17, when do add repository.

      Reply
    2. Garcia on October 10, 2019 7:06 pm

      Só uma observação, caso o comando
      #sudo apt-add-repository https://dl.winehq.org/wine-builds/debian/
      Não funcione… Basta utilizar o comando:
      #sudo apt-get install software-properties-common

      em seguida utilizar o primeiro comando.

      Reply
    3. Denny on September 17, 2019 11:42 pm

      Muitooo obrigado !
      Estava já desistindo =D

      Reply
    4. Vlad Popa on September 9, 2019 8:22 am

      Hi!
      Wine is at version 4.0.2 now and I’ve found out that there are symlinks set during the installation of the package, so you don’t have to expand the $PATH-variable to /opt/wine-stable/bin anymore, at least I did not have to ..

      Thanks for the great tutorial!

      Reply
    5. nuno on September 2, 2019 1:07 pm

      Great tutorial. keep it up. stay cool.

      Reply
    6. just_a_normal_user on August 8, 2019 3:08 am

      Well done!
      Congratulations!

      Reply
    7. sana on July 29, 2019 7:25 pm

      hello , tnx dear

      but I have debian xfce , and the installion dnt complete …
      I can not run any application

      Reply

    Leave A Reply Cancel Reply

    Recent Posts
    • What is CPU? – Definition, Types and Parts
    • What is the /etc/aliases file
    • What is the /etc/nsswitch.conf file in Linux
    • How to Install Ionic Framework on Ubuntu 22.04
    • What is the /etc/hosts file in Linux
    Facebook Twitter Instagram Pinterest
    © 2022 Tecadmin.net. All Rights Reserved | Terms  | Privacy Policy

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