Linux-Noob Forums

Full Version: How do I completely remove Wine?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4

Dungeon-Dave,

 

Quote:Now, if you have installed a package WITH YUM from online repos then you can use YUM to uninstall it:



Code:
yum erase wine-core
yum erase wine-pulseaudio

<div>


If you have extracted and compiled it manually, you will need to remove the files you have compiled to delete it.

 

As a tip: if you do "rpm -ql | grep -i wine" and it shows any wine packages, use "rpm -e" or "yum erase" to delete them. If the Wine packages don't show up in that list, then you have manually compiled them from source - but from the information in your posts, it looks like you're downloading and extracting the source files, running though the configure... then using yum to ignore the locally-stored extracted packages and install from online repos instead.

 

Hope that helps. I honestly feel the uninstall issues you are encountering are from your confusion over how something is installed... which means you could be looking in the wrong place to remove it.



</div>
 

Thank you. That seems to be more helpful.

 

I did the



Code:
yum erase wine-core




[root@Bakshara ~]# yum erase wine-core

Loaded plugins: dellsysidplugin2, refresh-packagekit

Setting up Remove Process

No Match for argument: wine-core

Package(s) wine-core available, but not installed.

No Packages marked for removal



Code:
yum erase wine-pulseaudio




[root@Bakshara ~]# yum erase wine-pulseaudio

Loaded plugins: dellsysidplugin2, refresh-packagekit

Setting up Remove Process

No Match for argument: wine-pulseaudio

Package(s) wine-pulseaudio available, but not installed.

No Packages marked for removal

 



Code:
rpm -ql | grep -i wine




[root@Bakshara ~]# rpm -ql | grep -i wine

rpm: no arguments given for query

You have new mail in /var/spool/mail/root

 

So, hopefully this information will be more helpful.

 

Gratefully,

 

Bakshara


Quote:
Code:
rpm -ql | grep -i wine

<div>


So, hopefully this information will be more helpful.

 

Gratefully,

 

Bakshara



</div>
Doh! Sorry - "rpm -qa | grep -i wine"

the "-l" = list contents of this package. "-qa" = query all, list ALL packages.


Ok,

 

The latest news. I have successfully removed Wine completely.

I tried to install wine-1.1.24, but it installed wine-1.1.23 instead. I was fine with that. What I really wanted was to document the entire install.

 

I'm documenting every thing I did to completely uninstall wine at the bottom of this message.*

 

Now these are the wine bz2 files I had downloaded:

wine-1.1.30

wine-1.1.29

wine-1.1.28

wine-1.1.27

wine-1.1.26

wine-1.1.25

wine-1.1.24

wine-1.1.23

wine-1.1.1

 

when I did

Code:
yum install wine


it installed wine-1.1.29. I uninstalled it. I compressed all but wine-1.1.24 and did

Code:
yum install wine


and it installed wine-1.1.29 again. So, I uninstalled it again. I deleted that compressed file and did

Code:
yum install wine


again. Once again it installed wine-1.1.29. You can see that the latest distribution on WineHQ is wine-1.1.32.

 

Dungeon-Dave you said,

Quote:No - THIS is where you are going wrong. YUM installs packages from HTTP or FTP sources - it does NOT install the version you extracted.
This is where I am really confused. My latest attempt was to install wine-1.1.24. It is the only version I have download and extracted. wine-1.1.32 is the latest version. Why did it install wine-1.1.29?

 

My complete uninstall* (I'm not going to put every single one of these in a code bracket.)

rm -f wine-capi-1.1.23-1.fc10.i386.rpm

 

rm -f wine-cms-1.1.23-1.fc10.i386.rpm

rm -f wine-core-1.1.23-1.fc10.i386.rpm

rm -f wine-desktop-1.1.23-1.fc10.i386.rpm

rm -f wine-esd-1.1.23-1.fc10.i386.rpm

rm -f wine-jack-1.1.23-1.fc10.i386.rpm

rm -f wine-ldap-1.1.23-1.fc10.i386.rpm

rm -f wine-nas-1.1.23-1.fc10.i386.rpm

rm -f wine-pulseaudio-1.1.23-1.fc10.i386.rpm

rm -f wine-tools-1.1.23-1.fc10.i386.rpm

rm -f wine-twain-1.1.23-1.fc10.i386.rpm

rm -f wine-1.1.23-1.fc10.i386.rpm

rm -f /usr/share/selinux/targeted/wine.pp.bz2

rm -f /usr/share/selinux/devel/include/apps/wine.if

rm -f /usr/lib64/openoffice.org3/basis-link/share/template/en-US/layout/lyt-wine.otp

rm -f /usr/lib/wine <- no work

rmdir wine

rm -f /usr/bin/winedump

rm -f /media/LinuxSwitch/Misc/Download/Need2Scan/Linux/WineInstallLog.txt

rm -f /media/LinuxSwitch/Misc/Download/Need2Scan/Linux/WineInstallLog.txt~

rm -f /usr/bin/wineserver

rm -f /media/WINDOZE/windows/$hf_mig$/KB974455-IE8/sp2qfe/wow/winetcpl.cpl

rm -f /media/WINDOZE/windows/system32/dllcache/winetcpl.cpl

rm -f /media/WINDOZE/windows/$hf_mig$/KB974455-IE8/sp2qfe/wow/winetcpl.cpl

 

[root@Bakshara ~]# cd /var/cache/yum/updates/packages

You have new mail in /var/spool/mail/root

[root@Bakshara packages]# rm -f $HOME/

rm: cannot remove `/root/': Is a directory

[root@Bakshara packages]# rm -f wine-capi-1.1.23-1.fc10.i386.rpm

[root@Bakshara packages]# rm -f wine-cms-1.1.23-1.fc10.i386.rpm

[root@Bakshara packages]# rm -f wine-core-1.1.23-1.fc10.i386.rpm

[root@Bakshara packages]# rm -f wine-desktop-1.1.23-1.fc10.i386.rpm

[root@Bakshara packages]# rm -f wine-esd-1.1.23-1.fc10.i386.rpm

[root@Bakshara packages]# rm -f wine-jack-1.1.23-1.fc10.i386.rpm

[root@Bakshara packages]# rm -f wine-ldap-1.1.23-1.fc10.i386.rpm

[root@Bakshara packages]# rm -f wine-nas-1.1.23-1.fc10.i386.rpm

[root@Bakshara packages]# rm -f wine-pulseaudio-1.1.23-1.fc10.i386.rpm

[root@Bakshara packages]# rm -f wine-tools-1.1.23-1.fc10.i386.rpm

[root@Bakshara packages]# rm -f wine-twain-1.1.23-1.fc10.i386.rpm

[root@Bakshara packages]# rm -f wine-1.1.23-1.fc10.i386.rpm

[root@Bakshara packages]# wineserver -k

wineserver: error while loading shared libraries: libwine.so.1: cannot open shared object file: No such file or directory

[root@Bakshara packages]# cd /usr/share/selinux/targeted

You have new mail in /var/spool/mail/root

[root@Bakshara targeted]# rm -f wine.pp.bz2

[root@Bakshara targeted]# cd /usr/share/selinux/devel/include/apps

[root@Bakshara apps]# rm -f /usr/share/selinux/devel/include/apps/wine.if

[root@Bakshara apps]# rm -f /usr/lib64/openoffice.org3/basis-link/share/template/en-US/layout/lyt-wine.otp

[root@Bakshara apps]# cd /usr/lib

[root@Bakshara lib]# rm -f /usr/lib/wine

rm: cannot remove `/usr/lib/wine': Is a directory

[root@Bakshara lib]# rm -f wine

rm: cannot remove `wine': Is a directory

[root@Bakshara lib]# rmdir wine

[root@Bakshara lib]# rm -f /usr/bin/winedump

[root@Bakshara lib]# rm -f /media/LinuxSwitch/Misc/Download/Need2Scan/Linux/WineInstallLog.txt

[root@Bakshara lib]# rm -f /media/LinuxSwitch/Misc/Download/Need2Scan/Linux/WineInstallLog.txt~

[root@Bakshara lib]# rm -f /usr/bin/wineserver

[root@Bakshara lib]# rm -f /media/WINDOZE/windows/$hf_mig$/KB974455-IE8/sp2qfe/wow/winetcpl.cpl

[root@Bakshara lib]# rm -f /media/WINDOZE/windows/system32/dllcache/winetcpl.cpl

[root@Bakshara lib]# rm -f /media/WINDOZE/windows/$hf_mig$/KB974455-IE8/sp2qfe/wow/winetcpl.cpl

[root@Bakshara lib]#

 

I did a search Applications

Under Applications I saw:

Main Menu

I opened that an inside it I saw several instances of Wine Application and a few winebrowser. It would not let me perform a group delete. I had to delete those each one by one.

Under /home/Bakshara was .wine and .winetrickscache I deleted those.

After all of this I believe Wine was completely GONE.


Quote:This is where I am really confused. My latest attempt was to install wine-1.1.24. It is the only version I have download and extracted. wine-1.1.32 is the latest version. Why did it install wine-1.1.29?
The answer has been specified several times in previous posts. You even quoted it above this question:

Quote:No - THIS is where you are going wrong. YUM installs packages from HTTP or FTP sources - it does NOT install the version you extracted.
To install the version you extracted, you will need to compile it manually.

 

The way you are using YUM means it is ignoring your downloaded packages and fetching wine-1.1.29 from fedora's repos.


Quote:<blockquote data-ipsquote="" class="ipsQuote" data-ipsquote-contentcommentid="13787" data-ipsquote-username="Bakshara" data-cite="Bakshara" data-ipsquote-timestamp="1257305599" data-ipsquote-contentapp="forums" data-ipsquote-contenttype="forums" data-ipsquote-contentid="3888" data-ipsquote-contentclass="forums_Topic"><div>This is where I am really confused. My latest attempt was to install wine-1.1.24. It is the only version I have download and extracted. wine-1.1.32 is the latest version. Why did it install wine-1.1.29?
The answer has been specified several times in previous posts. You even quoted it above this question:

Quote:No - THIS is where you are going wrong. YUM installs packages from HTTP or FTP sources - it does NOT install the version you extracted.
To install the version you extracted, you will need to compile it manually.

 

The way you are using YUM means it is ignoring your downloaded packages and fetching wine-1.1.29 from fedora's repos.



</div></blockquote>
 

Thank you!

Two questions:

1) How do I do that? How do I compile it manually?

2) Why does it fetch wine-1.1.29 and not the latest wine-1.1.32?


Quote:Thank you!

Two questions:

1) How do I do that? How do I compile it manually?
I refer you back to my previous post:

Quote:If you have extracted the files, you now need to read the README file that was extracted, and follow the instructions within that.
Quote:2) Why does it fetch wine-1.1.29 and not the latest wine-1.1.32?
Because that is what will have been compiled and placed on the repos:



Code:
Dependencies Resolved

=============================================================================
Package                 Arch       Version          Repository        Size
=============================================================================
Installing:
wine                    i386       1.0-0.3.rc3.fc7  updates            21 k
Installing for dependencies:
wine-capi               i386       1.0-0.3.rc3.fc7  updates            26 k
wine-cms                i386       1.0-0.3.rc3.fc7  updates            41 k
wine-core               i386       1.0-0.3.rc3.fc7  updates            11 M
wine-esd                i386       1.0-0.3.rc3.fc7  updates            35 k
wine-jack               i386       1.0-0.3.rc3.fc7  updates            37 k
wine-ldap               i386       1.0-0.3.rc3.fc7  updates            89 k
wine-nas                i386       1.0-0.3.rc3.fc7  updates            24 k
wine-tools              i386       1.0-0.3.rc3.fc7  updates           601 k
wine-twain              i386       1.0-0.3.rc3.fc7  updates            47 k

Transaction Summary
=============================================================================
Install     10 Package(s)
Update       0 Package(s)
Remove       0 Package(s)

Total download size: 12 M
Is this ok [y/N]:




So for my Fedora7 repo, the version available to me is 1.0-0.3. For your release of Fedora, the repos have a later version (but not the very latest).


Ok I did this:

Quote:If you have extracted the files, you now need to read the README file that was extracted, and follow the instructions within that.
...per WineOn64bit (Building Wine on Fedora 11 x86_64)

 

It did a whole bunch of stuff. Then I did:



Code:
./configure




 

This is the response I got:

Quote:[root@Bakshara ~]# ./configure

-bash: ./configure: No such file or directory

[root@Bakshara ~]#
I have no Wine menu. What else do I need to do?

 

Thanks in advance


Quote:<blockquote data-ipsquote="" class="ipsQuote" data-ipsquote-contentapp="forums" data-ipsquote-contenttype="forums" data-ipsquote-contentid="3888" data-ipsquote-contentclass="forums_Topic"><div>
[root@Bakshara ~]# ./configure

-bash: ./configure: No such file or directory

[root@Bakshara ~]#
I have no Wine menu. What else do I need to do?

 

Thanks in advance



</div></blockquote>
 

I think you ran ./configure from the wrong directory. If you notice in the prompt, it says: root@Bakshara ~]. That '~' indicates you were in the home directory (for root, since that's who you were logged in as). You will first need to use cd to move into the directory where the extracted wine files are, before ./configure will work.

 

For example, if the extracted files are on the desktop of a user named bakshara:

 



Code:
cd /home/bakshara/Desktop/wine-1.1.32/
./configure




 

and then continue to follow the README instructions from after the ./configure stage.


Ok, it's been a while, but I am back and have given it a serious go.

 

I found this site that is VERY helpful. The one adjustment, you may have to make, is where it says, "2) The source code for Wine will be stored in a folder named "wine". Type cd wine press Enter." go to the directory where ever you download whatever version of Wine.

http://wiki.oldos.org/Linux/WineHowTo

 

Then I followed all of the instructions step-by-step. The following is the response I got:

Quote:[bakshara@Bakshara wine-1.1.24]$ ./tools/wineinstallWine Installer v1.0

 

Running configure...

 

checking build system type... x86_64-unknown-linux-gnu

checking host system type... x86_64-unknown-linux-gnu

checking whether make sets $(MAKE)... yes

checking for gcc... no

checking for cc... no

checking for cl.exe... no

configure: error: in `/media/LinuxSwitch/Misc/Download/Need2Scan/Linux/wine-1.1.24':

configure: error: no acceptable C compiler found in $PATH

See `config.log' for more details.

 

Configure failed, aborting install.

 
 

What do I need to do to address the "error: no acceptable C compiler found in $PATH" issue?

 

Thanks for all your help!

P.S. Is it possible to to install and operate two versions of Wine?


Presuming you're still using Fedora as you were in the first post in this thread, you need to use this command to install the software development tools:

 



Code:
su -
[[enter your root password when prompted]]
yum groupinstall "Development Tools" "Legacy Software Development"




Pages: 1 2 3 4