How To Install Wine In Ubuntu 19.10

    How to install wine in Ubuntu terminal. Learn to install and use wine in Ubuntu. 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.

    Instead of simulating internal Windows logic like a virtual machine or emulator, Wine translates Windows API calls into POSIX calls on-the-fly, eliminating the performance and memory penalties of other methods and allowing you to cleanly integrate Windows applications into your desktop.

    Install WINE

    If you have previously installed a Wine package from another repository, please remove it and any packages that depend on it (e.g., wine-mono, wine-gecko, winetricks) before attempting to install the WineHQ packages, as they may cause dependency conflicts.

    If your system is 64 bit, enable 32 bit architecture (if you haven’t already):


    sudo dpkg --add-architecture i386

    Download and add the repository key:


    wget -nc https://dl.winehq.org/wine-builds/winehq.key
    sudo apt-key add winehq.key
    sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ eoan main'
    sudo apt update
    sudo apt install --install-recommends winehq-stable

    If you have previously used the distro packages, you will notice some differences in the WineHQ ones:

    1. Files are installed to /opt/wine-devel, opt/wine-stable, or /opt/wine-staging (depending on which version you installed).
    2. Menu items are not created for Wine’s builtin programs (winecfg, etc.), and if you are upgrading from a distro package that had added them, they will be removed. You can recreate them yourself using your menu editor.
    3. Binfmt_misc registration is not added. Consult your distro’s documentation for update-binfmts if you wish to do this manually.
    4. WineHQ does not at present package wine-gecko or wine-mono. When creating a new wine prefix, you will be asked if you want to download those components. For best compatibility, it is recommended to click Yes here. If the download doesn’t work for you, please follow the instructions on the Gecko and Mono wiki pages to install them manually.

    Installing WINE without Internet

    To install Wine on an Ubuntu machine without internet access, you must have access to a second Ubuntu machine (or VM) with an internet connection to download the Wine .deb package and its dependencies.

    The procedure goes like this: On the machine with internet, add the WineHQ PPA, then cache just the necessary packages without actually extracting them:


    sudo add-apt-repository ppa:wine/wine-builds
    sudo apt-get update
    sudo apt-get clean
    sudo apt-get --download-only install winehq-devel
    sudo apt-get --download-only dist-upgrade

    Copy all of the .deb files in /var/cache/apt/archives to a USB stick:


    cp -R /var/cache/apt/archives/ /media/usb-drive/deb-pkgs/

    Finally, on the machine without internet, install all of the packages from the flash drive:


    cd /media/usb-drive/deb-pkgs
    sudo dpkg -i *.deb

    How To Install Wine In Ubuntu 19.10 originally posted on Source Digit - Linux, Ubuntu Tutorials & News, Technology, Gadgets & Gizmos.