How to install wine in ubuntu

Wine is an app designed to install window apps in Ubuntu. To install wine follow the steps.


1. Open terminal by Ctrl.+Alt.+T.
2.
  • If you are using a 64-bit Architecture, then enable 32-bit for better compatibility
    sudo dpkg --add-architecture i386
    
  • Add the Wine Key, Wine Repository & Update Repositories
    wget -nc https://dl.winehq.org/wine-builds/Release.key
    sudo apt-key add Release.key
    sudo apt-add-repository https://dl.winehq.org/wine-builds/ubuntu/
    sudo apt update
    
  • Then install the version of Wine you wish to use:
    • Based on Wine Development (Stable) (eg: 2.0)
      sudo apt install wine-stable winehq-stable
      
    • Based on Wine Development (Testing Stage) (eg: 2.1)
      sudo apt install wine-devel winehq-devel
      
    • Based on Wine-Staging (Bleeding Edge) (eg: 2.1.1)
      sudo apt install wine-staging winehq-staging
      
    Lastly run
    WINEARCH=win32 winecfg
    
    in the terminal to make sure it configures Wine correctly (In that order). You will also need to install winetricks (Another configuration package, really helpful for installing Windows components like .NET Framework and other needed libraries). So after this, please do:
    sudo apt install winetricks
    
Video Demostration showing Wine 1.9.X in Action - Wine 1.9.X Performance

1. Differences between Wine Stable, Development & Staging versions

Stable versions offer less bugs with better stability and receive updates every 3-6 months after release.
Development version is the next stable version in development and receives updates every 2 weeks.
Staging version is the same as Development Version but includes all patches and enhancements from Wine-Staging
The decision to stick with the stable version (Even number versions: 1.0, 1.2, 1.4...) or with the unstable versions (Odd number versions: 1.1, 1.3, 1.5...) is up to the user, the main difference is compatibility and performance which are both enhanced in the Development version. You get the latest fixes it offers, and also become a tester that can help in the development cycle.

2. Installing the Recommended Stable Wine version (from PPA)

In the terminal type the following to add the Wine PPA, update repositories, and install latest Wine & Winetricks version:
wget -nc https://dl.winehq.org/wine-builds/Release.key && sudo apt-key add Release.key && sudo apt-add-repository -y https://dl.winehq.org/wine-builds/ubuntu/ && sudo apt update && sudo apt install wine-devel winehq-devel winetricks
or you could include the Wine 32-Bit Arch (Better support) and configuring winecfg (This should only be applied to new installations since it will move the existing Wine installation to a folder called winebck):
sudo dpkg --add-architecture i386 && wget -nc https://dl.winehq.org/wine-builds/Release.key && sudo apt-key add Release.key && sudo apt-add-repository -y https://dl.winehq.org/wine-builds/ubuntu/ && sudo apt update && sudo apt install wine-devel winehq-devel winetricks && export WINEARCH=win32 && winecfg
            
        Thanks.Stay Connected....
How to install wine in ubuntu How to install wine in ubuntu Reviewed by Sumit Bishnoi on October 22, 2017 Rating: 5

No comments:

Powered by Blogger.