How to completely remove 1.9.12

Questions about Wine on Linux
Locked
bush5150
Level 2
Level 2
Posts: 22
Joined: Sun Jun 19, 2016 5:24 am

How to completely remove 1.9.12

Post by bush5150 »

Hello. I recently installed Wine v. 1.9.12 from source. I want to remove it and return to a stable version. I removed everything using terminal. There is absolutely no trace of wine on my computer (even the $HOME/.wine/ and the /.config/menus/applications-merged/wine dir's have been wiped). My problem is when I go to check version, it still shows 1.9.12 on my computer. Here is the screenshot of terminal. Even checking on the "about" tab in winecfg gui reflect 1.9.12 on a fresh install of 1.8.0.

Image

I followed this guide: https://wiki.winehq.org/FAQ#How_do_I_uninstall_Wine.3F which says to "sudo make uninstall" in the root directory of v. 1.9.12 source. I did that and I get errors. Here are the screenshots.
Image


What else do I need to do to ensure that Wine is no longer on my pc before a fresh install?


I appreciate any help in this.
User avatar
dimesio
Moderator
Moderator
Posts: 13371
Joined: Tue Mar 25, 2008 10:30 pm

Re: How to completely remove 1.9.12

Post by dimesio »

If there were "absolutely no trace of wine" on your computer, you wouldn't be able to run winecfg at all.

Where did you get 1.8.0 from? Are you sure you didn't install a 1.9.12 package?

Regarding the error message when running make uninstall: did you manually delete the build directory before running make uninstall? If so, you will have to build Wine again and then run make uninstall.

One more thing: please stop posting console output as screenshots. Copy the text and paste it into the body of your post.
bush5150
Level 2
Level 2
Posts: 22
Joined: Sun Jun 19, 2016 5:24 am

Re: How to completely remove 1.9.12

Post by bush5150 »

I solved it. I went to console and typed: which wine. That gave me an output of /usr/bin/wine
I deleted every file in that folder that had a wine* prefix (some were links to other files in /opt/wine/). I deleted all these files as well and typed wine --version and got "no version of wine installed, type sudo apt-get wine1.6-i386 to get wine). I ran:
sudo apt-get update
sudo apt-get autoclean
sudo apt-get clean
sudo apt-get autoremove

One of those realized that wine 1.9.12 was missing and removed the rest.

I then downloaded wine 1.8 from the repository and it installed correctly. Here's the output:
goodstudent@goodstudent-VGN-N220E ~ $ wine --version
wine-1.8
goodstudent@goodstudent-VGN-N220E ~ $


it's all better now. Wine is working as intended (I had issues with directdraw in 1.9.12, which is discussed in another post).
Locked