Saturday, January 16, 2021

Wine 6.0 installing on Ubuntu 20.04

Wine 6.0 has been released as the newest stable build.  You can read about it at winehq.org.  I use Wine to run a couple of MS Windows programs that I haven't found good Linux replacements for (Photoshop and Omniforms,  I know GIMP is a good Photoshop replacement but I'm used to Photoshop and the workflow is not the same, besides I haven't taken the time to learn GIMP)...Anyway, let's install Wine 6.0 on Ubuntu 20.04 LTS (or 20.10 noting the difference in step 3).

Open a Terminal Window and type the following commands:

1.  Enable 32-bit support on your system.

     sudo dpkg --add-architecture i386 

2.  Add the Wine keys to your system.

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

    sudo apt-key add winehq.key

3. Add the repository for Ubuntu 20.04 (only run one of these commands)

IF YOU'RE RUNNING 20.04

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

IF YOU'RE RUNNING 20.10

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

4. Install Wine 6.0

    sudo apt install --install-recommends winehq-stable

If you want to check your Wine Version just type the following in a Terminal Window;

    wine --version


That's it you're done.

*NOTES: When I ran Photoshop after the update, Wine asked to install a couple of items it needed to work.  I just clicked on the yes button.  On step 1, I had already enabled this but running the command again did not hurt anything.