Refer: https://itsfoss.com/wine-5-release/
Troubleshooting
Things worked much better when changing the compatibility to Windows XP. Navigate to each *.exe and add compatibility to Windows XP. Have done this for Dreamweaver, Fireworks, TN3270, WinSCP and Textpad
winecfg
How to install Wine 5.0 on Ubuntu and Linux Mint
If you have Wine installed before, you should remove it completely to avoid any conflict (as you wish). Also, the WineHQ key repository key was changed recently, you should refer to its download page for additional instructions on that according to your Linux distribution.
The source for Wine 5.0 is available on its official website. You can read more about building wine in order to make it work. Arch-based users should be getting it soon.
Here’ I’ll show you the steps to install Wine 5.0 on Ubuntu and other Ubuntu-based distributions.
First, remove existing Wine install with this command:
sudo apt remove winehq-stable wine-stable wine1.6
Download the official Wine repository key and add it:
wget -qO - https://dl.winehq.org/wine-builds/winehq.key | sudo apt-key add -
Now the next step involves adding the repository and for that, you need to know your Ubuntu version first.
For Ubuntu 19.10, add this repository:
sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ eoan main'
If you are using Ubuntu 18.04 or Linux Mint 19.x, use this command to add the repository:
sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'
For Ubuntu 16.04 and Linux Mint 18.x series, you can use this command:
sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ xenial main'
Now that you have added the correct repository, you can install Wine 5.0 using this command:
sudo apt update && sudo apt install --install-recommends winehq-stable
