If you are running an Ubuntu derivative, you’ll find Wine located in the Software Center. Chances are, however, that version is outdated. Because of that, we want to avoid installing the “out of the box” version offered. To do this, we must add the official Wine repository. This can be done one of two ways, via command line or GUI. Since our goal is running Windows applications, let’s use the GUI method.
1. Click on the Applications menu
2. Type software
3. Click Software & Updates
4. Click on the Other Software tab
5. Click Add
6. Enter ppa:ubuntu-wine/ppa in the APT line section (Figure 2)
7. Click Add Source
8. Enter your sudo password
9. Click Authenticate
10. Click Close
11. When prompted, click Reload
Everything O.K. until step 11 then this error:
E:The repository ‘http://ppa.launchpad.net/mc3man/xerus-media/ubuntu bionic Release’ does not have a Release file., W:Updating from such a repository can’t be done securely, and is therefore disabled by default., W:See apt-secure(8) manpage for repository creation and user configuration details., E:The repository ‘http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu bionic Release’ does not have a Release file.