LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-08-2010, 02:56 AM   #1
darksaurian
Member
 
Registered: Jun 2010
Location: USA
Distribution: Fedora Xfce spin
Posts: 201

Rep: Reputation: 27
how to uninstall wine


I install wine with this as regular user:
darksaurian@inferno:/usr/local/wine-1.1.40$ ./tools/wineinstall

Then to uninstall I do this as root:
root@inferno:/usr/local/wine-1.1.40# make uninstall

Now if I try to install again it say this:
Code:
darksaurian@inferno:/usr/local/wine-1.1.40$ ./tools/wineinstall
Wine Installer v1.0

Warning !! wine binary (still) found, which may indicate
a (conflicting) previous installation.
You might want to abort and uninstall Wine first.
(If you previously tried to install from source manually, 
run 'make uninstall' from the wine root directory)

We need to install Wine as the root user. Do you want us to build Wine,
'su root' and install Wine?  Enter 'no' to build Wine without installing:
(yes/no)
Why it say conflicting previous installation? "make uninstall" not work?
 
Old 06-08-2010, 03:26 AM   #2
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
Seems like it isn't uninstalling. You may have to delete files manually I think.

Last edited by dive; 06-08-2010 at 03:27 AM.
 
Old 06-08-2010, 03:27 AM   #3
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,682

Rep: Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375
What Dive said, also...

Your better off making your own slackware packages. You can use Alien Bob's wine slackbuild or just use his precompiled packages available here.
install fontforge first
http://connie.slackware.com/~alien/s...lds/fontforge/

then wine
http://connie.slackware.com/~alien/slackbuilds/wine/
 
Old 06-08-2010, 05:48 AM   #4
darksaurian
Member
 
Registered: Jun 2010
Location: USA
Distribution: Fedora Xfce spin
Posts: 201

Original Poster
Rep: Reputation: 27
"make uninstall" work for everyone else? Why it not work? How I know what files to delete manually? I not know where it put everything.
 
Old 06-08-2010, 09:13 AM   #5
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
I usually install wine (and other software) using the slackbuild: http://slackbuilds.org/repository/13.0/system/wine/

This builds a package which you can install and uninstall very easily. Update for 13.1 coming soon...
 
Old 06-08-2010, 10:29 AM   #6
darksaurian
Member
 
Registered: Jun 2010
Location: USA
Distribution: Fedora Xfce spin
Posts: 201

Original Poster
Rep: Reputation: 27
Yeah that's what I want to do next time is Slackbuild but I think I need to get previous wine off my system or maybe mess up Slackbuild. But I not know where all wine files are and it look like "make uninstall" not work.
 
Old 06-08-2010, 11:00 AM   #7
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
I would hazard a guess and say:

/usr/local/share/wine
/usr/local/lib/wine
/usr/local/include/wine
/usr/local/doc/wine-x.x.x
/usr/local/bin/wine*

But this is only a guess.

Have you tried doing './configure' in the source directory before 'make uninstall'?
 
Old 06-08-2010, 11:10 AM   #8
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 232Reputation: 232Reputation: 232
Copy this to a file called delwine and, as root, run "source delwine"

Code:
cd /usr/local/bin
rm function_grep.pl
rm msiexec
rm notepad
rm regedit
rm regsvr32
rm widl
rm wine
rm wine-preloader
rm wineboot
rm winebuild
rm winecfg
rm wineconsole
rm winecpp
rm winedbg
rm winedump
rm winefile
rm wineg++
rm winegcc
rm winemaker
rm winemine
rm winepath
rm wineprefixcreate
rm wineserver
rm wmc
rm wrc
rm -rf /usr/local/include/wine
rm -rf /usr/local/lib/wine
rm /usr/local/lib/libwine*
rm -rf /usr/local/share/wine
rm  /usr/local/share/man/man1/wine*
rm  /usr/local/share/man/man1/wmc.1
rm  /usr/local/share/man/man1/wrc.1
rm  /usr/local/share/man/man1/widl.1
rm /usr/local/share/applications/wine.desktop
That should get rid of all traces of wine if installed to the default places.

Last edited by bgeddy; 06-08-2010 at 11:24 AM. Reason: mistake in post
 
Old 06-09-2010, 12:11 AM   #9
darksaurian
Member
 
Registered: Jun 2010
Location: USA
Distribution: Fedora Xfce spin
Posts: 201

Original Poster
Rep: Reputation: 27
No, none of those directories from dive's post exist and all I have in /usr/local/bin is:
pwgen timidity

"make uninstall" must have got rid of those things. But still have "previous installation" it say. I not understand.

Why run ./configure? When I run /tools/wineinstall it not do that already? I try it but I not understand.
 
Old 06-09-2010, 12:17 AM   #10
darksaurian
Member
 
Registered: Jun 2010
Location: USA
Distribution: Fedora Xfce spin
Posts: 201

Original Poster
Rep: Reputation: 27
./configure not help. Where this wine binary or previous installation that it talking about? It seem like it all cleaned out to me.

I do this:
Code:
root@inferno:~# find / -name wine
/home/darksaurian/.local/share/applications/wine
/home/darksaurian/.local/share/Trash/files/usr/include/wine
/home/darksaurian/.local/share/Trash/files/usr/bin/wine
/home/darksaurian/.local/share/Trash/files/usr/lib/wine
/home/darksaurian/.local/share/Trash/files/usr/share/wine
/usr/local/wine-1.1.40/libs/wine
/usr/local/wine-1.1.40/wine
/usr/local/wine-1.1.40/include/wine
/usr/local/wine-1.1.40/loader/wine
root@inferno:~#
 
Old 06-09-2010, 01:32 AM   #11
darksaurian
Member
 
Registered: Jun 2010
Location: USA
Distribution: Fedora Xfce spin
Posts: 201

Original Poster
Rep: Reputation: 27
Here part in wineinstall script that tell me I have previously installed binary:
Code:
# check whether wine binary still available
 99 if [ -x `which wine 2>/dev/null` ] && [ -n "`wine --version 2>/dev/null`" ]
100 then
101     echo "Warning !! wine binary (still) found, which may indicate"
102     echo "a (conflicting) previous installation."
103     echo "You might want to abort and uninstall Wine first."
104     echo "(If you previously tried to install from source manually, "
105     echo "run 'make uninstall' from the wine root directory)"
106     std_sleep
107 fi
I not know how to read this. It look like if statement succeed but why? Something in /dev/null?
 
Old 06-09-2010, 01:39 AM   #12
darksaurian
Member
 
Registered: Jun 2010
Location: USA
Distribution: Fedora Xfce spin
Posts: 201

Original Poster
Rep: Reputation: 27
I think it the "which" command. I try this at command prompt:
`which wine 2>/dev/null`

And nothing happen. I think it return true. I think I try to figure out what "which" command does and maybe figure out where it finding previous wine installation?
 
Old 06-09-2010, 01:47 AM   #13
darksaurian
Member
 
Registered: Jun 2010
Location: USA
Distribution: Fedora Xfce spin
Posts: 201

Original Poster
Rep: Reputation: 27
What? So command is "wine 2" and then standard output redirected to /dev/null?

This make no sense. I have no wine anymore. I type "wine" or "wine 2" and computer say no such thing as wine. But ./tools/wineinstall script try that and it return true and it say I have previously installed wine.

I not understand at all.
 
Old 06-09-2010, 05:08 AM   #14
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 232Reputation: 232Reputation: 232
The command is redirecting stderr (device 2) to the bit bucket (/dev/null). You can try just running "which wine" to see what which finds. It then checks if anything is returned from "wine --version". You can try running :
Code:
if [ -x `which wine 2>/dev/null` ] && [ -n "`wine --version 2>/dev/null`" ]; then echo Wine Installed;fi
to prove to yourself what's happening.

If you want to delve into this look up redirection. Here's a quick reference - just the first one I found.

If you are determined to run this script - why not just comment out the test and run it anyway? Just insert # at the start of each line between if and fi, This will force wine to build every time.
 
Old 06-13-2010, 09:35 AM   #15
darksaurian
Member
 
Registered: Jun 2010
Location: USA
Distribution: Fedora Xfce spin
Posts: 201

Original Poster
Rep: Reputation: 27
No, I don't want to run the script. I want to install the new wine slackbuild. But I want to completely remove old wine from my system. I don't understand why that script thinks I still have wine.

Apparently this tells the script that I have previous version of wine on my system:
if [ -x `which wine 2>/dev/null` ] && [ -n "`wine --version 2>/dev/null`" ];

But I don't understand that line so I don't know what to delete.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't uninstall wine vincebs Linux - Software 7 01-12-2005 01:22 PM
Uninstall WINE? sdat1333 Fedora 2 11-25-2004 06:23 PM
wine uninstall shadow Linux - Software 1 03-29-2004 11:20 AM
Uninstall wine? Viper168 Mandriva 2 11-06-2003 09:21 AM
how to uninstall wine? elliore Linux - Newbie 2 08-09-2003 12:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration