Skip to content

Instantly share code, notes, and snippets.

@iAmSt0rm
Last active September 1, 2020 08:38
Show Gist options
  • Save iAmSt0rm/cad5f8451d5e16d78fe0932b233c27b7 to your computer and use it in GitHub Desktop.
Save iAmSt0rm/cad5f8451d5e16d78fe0932b233c27b7 to your computer and use it in GitHub Desktop.
Install Wine on Ubuntu 20.04 Focal Fossa Linux
  1. If your system is 64 bit, enable 32 bit architecture (if you haven't already):

    sudo dpkg --add-architecture i386

  2. Download and add the repository key:

    wget -nc https://dl.winehq.org/wine-builds/winehq.key

    sudo apt-key add winehq.key

    Note: If there is an error gpg: invalid key resource URL '/tmp/apt-key-gpghome.*********/home:manuelschneid3r.asc.gpg'

    Run the following command: sudo rm /etc/apt/trusted.gpg.d/home:manuelschneid3r.asc

  3. Add the wine repository:

    sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main'

  4. Update Packages:

    sudo apt update

  5. Install stable wine packages:

    sudo apt install --install-recommends winehq-stable

  6. Configure Wine

    winecfg

    And it will guide you to install other required packages

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment