0

So I recently updated to WINE version 1.9.6 from version 1.6.2 (from software manager). The new version was not working, so I decided to uninstall it, and reinstall the old version, but the new version 1.9.6 seems to not be uninstalling. I've tried

sudo wine uninstall wine

sudo apt-get purge wine

sudo apt-get remove --purge wine

and all of these options with wine*, wine-1.9, and wine-1.9.6 as opposed to simply wine. Nevertheless, when I check the version of wine, it shows up as 1.9.6.

Reinstalling the old version from the software manager doesn't seem to help either. What else can I do to get rid of this version?

edit: which wine shows /usr/local/bin/wine

1 Answers1

0

From the additional information and comments, it appears that you have installed a version of wine by downloading and running a compilation process such as:

$ make
$ make install

This makes certain assumptions, such as that the default bin directory is /usr/local/bin instead of Ubuntu's /usr/bin which means that you could have multiple installations of the same application and can create all sorts of headaches.

If you end up in this position:

The cleanest way to remove an application installed in this way is to run the application's own uninstall process, e.g.:

$ make uninstall

or (more rarely)

$ make remove

Failing that, you may have to look at the Makefile to find out where all the files are and manually rm them.

To avoid this happening again:

This is why it's recommended, even with outside applications, that you put them into a debian package, or use a tool like checkinstall.