Should I uninstall before reinstalling?

Questions about Wine on Linux
Post Reply
Engineeringtech
Newbie
Newbie
Posts: 1
Joined: Wed Jun 18, 2025 10:18 pm

Should I uninstall before reinstalling?

Post by Engineeringtech »

I ran Ubuntu 18.04 ESM until about six months ago, when, sick of the alerts, I did an in-place upgrade to 20.04.LTS. Then two months ago moved to 22.04LTS, and finally 24.04LTS two nights ago. I had a working Wine installation under 18.04 and on rare occasion used the Windows IrfanView picture viewer/editor. Somewhere along the line, the Wine installation got hosed, as I now see rectangular areas devoid of graphics.

Should I uninstall Wine and reinstall it? Is is ok to use the package editor for the uninstall? Or should I use the terminal? If so, how?
rdepaoli
Level 2
Level 2
Posts: 15
Joined: Wed Jan 29, 2025 11:43 am

Re: Should I uninstall before reinstalling?

Post by rdepaoli »

Good evening Engineeringtech.

I would like to refer you to the Wiki-FAQ, it has a section about uninstalling wine, please see: https://gitlab.winehq.org/wine/wine/-/w ... installing
If you installed Wine with your distribution's package manager, use it
again to uninstall Wine.
Before removing I would however try only remove the virtual Windows installation first, as described here: https://gitlab.winehq.org/wine/wine/-/w ... stallation

Re terminal or other, I use both, apt-get on CLI and Synaptic as GUI, and both worked for me just fine.

Another thought - have you tried wine using another, new user account?
Maybe it is only that your user environment got messed up?

Good luck.
User avatar
KenSharp
Level 4
Level 4
Posts: 161
Joined: Mon Jul 13, 2009 8:52 pm

Re: Should I uninstall before reinstalling?

Post by KenSharp »

Wine will have been updated when you updated the system. All packages are updated.

As you are running a new version of Wine, your wineprefix will need to be updated.

You can try running

Code: Select all

wineboot -u
But you're probably going to have to reinstall IrfanView in a clean wineprefix.

You don't have to do anything with your package manager.
Post Reply