uninstalling old wine

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Trevorofmolino
Level 2
Level 2
Posts: 16
Joined: Sun Apr 27, 2008 3:40 pm

uninstalling old wine

Post by Trevorofmolino »

I ran rm -rf~/.wine and it went through the uninstall procedure. then I did wine --version and it showed wine-0.9.56 so I did rm -rf~/.wine as root and it uninstalled drive c. then I checked wine --version and it showed I still have wine-0.9.56. how do I get rid of this so I can install wine wine 0.9l.60.tar.bz2? I checked where wine was and it does not exist unless somehow it was moved during this uninstall.
Dan Kegel

uninstalling old wine

Post by Dan Kegel »

On Tue, May 6, 2008 at 5:54 PM, Trevorofmolino
<[email protected]> wrote:
I ran rm -rf~/.wine and it went through the uninstall procedure. then I did wine --version and it showed wine-0.9.56 so I did rm -rf~/.wine as root and it uninstalled drive c. then I checked wine --version and it showed I still have wine-0.9.56. how do I get rid of this so I can install wine wine 0.9l.60.tar.bz2? I checked where wine was and it does not exist unless somehow it was moved during this uninstall.
How did you install wine-0.9.56?
If you installed a deb, use dpkg -r.
If you installed with "make install", try "make uninstall".
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: uninstalling old wine

Post by vitamin »

Trevorofmolino wrote:I ran rm -rf~/.wine and it went through the uninstall procedure. then I did wine --version and it showed wine-0.9.56
Wine keeps it's "configuration" in ~/.wine directory not itself. That "configuration" being registry and "fake c: drive". So you did not really uninstalled Wine. You removed it's configuration and all windows programs that you installed under Wine.

To uninstall - see what Dan said. The only thing I can add is for rpm based distros that command would be 'rpm -e wine'
Trevorofmolino
Level 2
Level 2
Posts: 16
Joined: Sun Apr 27, 2008 3:40 pm

Post by Trevorofmolino »

the ~.wine directory is gone and the fake c drive is also gone so I cannot uninstall wine. I ran a search for all files containing wine and this is what I got
file:///etc/wine
file:///home/trevor/.local/share/applications/wine
file:///usr/include/wine
file:///usr/lib/wine
file:///usr/local/include/wine
file:///usr/local/lib/wine
file:///usr/local/share/wine
file:///usr/share/wine
file:///usr/bin/wine
file:///usr/local/bin/wine
so do I delete each file, parts of files or what?
Tlarhices
Level 4
Level 4
Posts: 101
Joined: Sun Mar 02, 2008 9:28 pm

Post by Tlarhices »

That's not a good idea to erase everything manually.
You should use the same tools you used to install it or it will let a lot of files/information everywhere.

How did you installed wine ?
Trevorofmolino
Level 2
Level 2
Posts: 16
Joined: Sun Apr 27, 2008 3:40 pm

Post by Trevorofmolino »

i used configure then make and make install. i tried to uninstall it as the faq told me to.
Tlarhices
Level 4
Level 4
Posts: 101
Joined: Sun Mar 02, 2008 9:28 pm

Post by Tlarhices »

As you used 'make install' to install it, you have to use 'make uninstall' from the source folder to uninstall it.
If you are trying to uninstall wine to then install a more up to date version from sources, you can just compile the new version and install it. It should replace all previous wine files without any form of conflict.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

Tlarhices wrote:As you used 'make install' to install it, you have to use 'make uninstall' from the source folder to uninstall it.
If you are trying to uninstall wine to then install a more up to date version from sources, you can just compile the new version and install it. It should replace all previous wine files without any form of conflict.
If you scroll up and bother to read what Dan already said you wouldn't need to repeat that over and over again.

Trevorofmolino, the only way to CLEANLY remove Wine installed with "make install" is with ... "make uninstall". Otherwise you will have to pick one file at a time. It would be much faster if you do what you've been told, not invent some ways that doesn't work.
Tlarhices
Level 4
Level 4
Posts: 101
Joined: Sun Mar 02, 2008 9:28 pm

Post by Tlarhices »

>> If you scroll up and bother to read what Dan already said you wouldn't need to repeat that over and over again.

Actually I have scrolled up AND I have bothered to read, but if he is still asking it means there is something he didn't understood and so give once more the information just in case.

By the way, you also repeated it yourself.....
Trevorofmolino
Level 2
Level 2
Posts: 16
Joined: Sun Apr 27, 2008 3:40 pm

Post by Trevorofmolino »

i just uninstalled then reinstalled wine version 9.60 and it still says it's version 9.56
Vincent Povirk

uninstalling old wine

Post by Vincent Povirk »

If I understand you, you used configure/make/make install to install
version 0.9.60. Unless you told it not to, that process installs wine
into /usr/local.

It appears you also have a version of wine installed in /usr, probably
0.9.56. That probably means you have installed a binary package of
wine using your distribution's package manager. You should uninstall
wine using the package manager; once you've done that, the version you
installed with configure/make/make install should work fine.
Locked