I did a forum search and found 16 pages for uninstalling wine. Only one was semi-helpful. What I got was:> > [Bakshara at Bakshara ~]$ rmdir ~/.wine > rmdir: failed to remove `/home/Bakshara/.wine': Directory not empty >What do I need to do? I want to uninstall wine 1.1.24 and install 1.1.26. I currently only have three apps installed. So any thing I will loose will be easy to reinstall. Bakshara the Linux noob!
John Drescher
2009-Jul-31 15:21 UTC
[Wine] Uninstall old wine version and install new version
> I did a forum search and found 16 pages for uninstalling wine. Only one was semi-helpful. > > What I got was: >> >> [Bakshara at Bakshara ~]$ rmdir ~/.wine >> rmdir: failed to remove `/home/Bakshara/.wine': Directory not empty >>This is not about uninstalling wine. Its about deleting your installed applications to start with a clean wine prefix. In most cases this is unnecessary. For example I am using the same prefix for the last 3 years. I have created additional prefixes to test applicatoions but I have not deleted .wine and the applications I installed with whatever wine version existed at that time still work..> > > What do I need to do? > > I want to uninstall wine 1.1.24 and install 1.1.26. >Generally your package manager does this for you. How did you install wine?> I currently only have three apps installed. So any thing I will loose will be easy to reinstall. >As I said before you do not need to do this. The wine installation is in no way tied to your wine prefix so you can leave the installed applications alone and still upgrade wine. John
Austin English
2009-Jul-31 16:02 UTC
[Wine] Uninstall old wine version and install new version
On Fri, Jul 31, 2009 at 10:08 AM, Bakshara<wineforum-user at winehq.org> wrote:> I did a forum search and found 16 pages for uninstalling wine. Only one was semi-helpful. > > What I got was: >> >> [Bakshara at Bakshara ~]$ rmdir ~/.wine >> rmdir: failed to remove `/home/Bakshara/.wine': Directory not emptyrmdir only removes empty directories. Use 'rm -rf ~/.wine' instead. -- -Austin
Bakshara
2009-Aug-01 03:30 UTC
[Wine] Re: Uninstall old wine version and install new version
austin987 wrote:> On Fri, Jul 31, 2009 at 10:08 AM, Bakshara<wineforum-user at winehq.org> wrote: > ... > rmdir only removes empty directories. Use 'rm -rf ~/.wine' instead. > ... > -AustinFrom: http://wiki.winehq.org/HowTo> Wine HowTo > > Before you install Wine, make sure that there is no previous Wine installation on your system, either from a package or from source. If you haven't yet installed Wine, you should be fine. See the Removing old Wine versions chapter in the User Guide for details.Many Linux distributions come with an included Wine package, but due to Wine's rapid development rate these are usually old and often broken versions. It is best to uninstall your distribution's included package versions and update to the latest Wine version available here.That says,> > To uninstall Wine from source, once again navigate to the same source folder that you used to install Wine using the terminal. Then, run the following command: > > Code: > > # make uninstall > > > >The response I get from trying is:> > [root at Bakshara lib]# make uninstall > make: *** No rule to make target `uninstall'. Stop. > [root at Bakshara lib]# make uninstall ./wine > make: *** No rule to make target `uninstall'. Stop. > [root at Bakshara lib]# make uninstall ./wine > make: *** No rule to make target `uninstall'. Stop. > [root at Bakshara lib]# make uninstall ~/.wine > make: *** No rule to make target `uninstall'. Stop. > [root at Bakshara lib]# make uninstall ~/wine > make: *** No rule to make target `uninstall'. Stop. > [root at Bakshara lib]# make uninstall /wine > make: *** No rule to make target `uninstall'. Stop. > [root at Bakshara lib]# make uninstall wine > make: *** No rule to make target `uninstall'. Stop. > [root at Bakshara lib]# >Doing> > > Code: > > rm -rf ~/.wine > > > > Gives me this, but still has 386 items under it. > > Code: > > [root at Bakshara lib]# rm -rf ~/.wine > [root at Bakshara lib]# > > > >
Bakshara
2009-Aug-04 03:33 UTC
[Wine] Re: Uninstall old wine version and install new version
Gert van den Berg,> You're running it as the wrong user. The above deleted root's default > WINEPREFIX.I am the only user. What is "$HOME?" How do I get to it? There are currently six "WINEPREFIX" files: three are "shell scrip", two are "Troff documents", and one is "Gzip archive." wineprefixcreate wineprefixcreate.1.gz wineprefixcreate.in wineprefixcreate.in wineprefixcreate.man.in wineprefixcreate.man.in austin987, These are the two: Code: [Bakshara at Bakshara ~]$ rm -rf ~/.wine usr/lib/wine <- 386 items still ???/wine <- 3 items still ???/wine <- 5 items still ???/wine-core-1.1.23 <- 21 items still ???/wine-pulseaudio-1.1.23 <- 21 items still Code: [Bakshara at Bakshara ~]$ su - Password: [root at Bakshara ~]# rm -rf ~/.wine [root at Bakshara ~]# usr/lib/wine <- 386 items still ???/wine <- 3 items still ???/wine <- 5 items still ???/wine-core-1.1.23 <- 21 items still ???/wine-pulseaudio-1.1.23 <- 21 items still As "[Bakshara at Bakshara ~]" Code: ./configure bash: ./configure: No such file or directory Code: which -a wine /usr/bin/wine shows 2,210 items Code: rm -rf ~/.wine && ls -al ~/.wine ls: cannot access /home/Bakshara/.wine: No such file or directory As "[root at Bakshara ~]" Code: ./configure -bash: ./configure: No such file or directory Code: which -a wine /usr/bin/wine shows 2,210 items Code: rm -rf ~/.wine && ls -al ~/.wine ls: cannot access /root/.wine: No such file or directory Nearly the same response as me or root. Everyone, NOTE: Eleven wine files under: var/lib/yum/yumdb/(hex string)-wine-????-1.1.23.fc11-i586 ????=ldap, twain, cms, desktop, nas, esd, tools, capi, jake, core, pulseaudio What are these?
Bakshara
2009-Aug-05 03:31 UTC
[Wine] Re: Uninstall old wine version and install new version
Gert van den Berg, Code: [Bakshara at Bakshara ~]$ echo $HOME /home/Bakshara [Bakshara at Bakshara ~]$ Under that I found> > /download/wine-1.1.24.tar.bz2 > /download/WineInstallLog > /Misc/Need2Scan/Linux/Wine/x86 > 50ComUpd.Exe > ReadMe.Txt > License.Txt > redist.txt > .config/menus/applications-merged > win-Programs-??? > .local/share/applications/wine/Programs/??? > > ???=Fantasy Grounds, M$ Office Powerpoint. M$ XML Parser, WinRAR >austin987, I tried this: Code: [Bakshara at Bakshara ~]$ sudo yum remove wine* [sudo] password for Bakshara: Bakshara is not in the sudoers file. This incident will be reported. ...and this: (It is VERY LOOOOOOOOOOOOOOOOOOOOONG, so I cut A LOT!) Code: [root at Bakshara ~]# sudo yum remove wine*> > Loaded plugins: dellsysidplugin2, refresh-packagekit > Setting up Remove Process > Resolving Dependencies > There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them. > --> Running transaction check > ---> Package wine-capi.i586 0:1.1.23-1.fc11 set to be erased > ... > ---> Package wine-twain.i586 0:1.1.23-1.fc11 set to be erased > --> Finished Dependency Resolution > > Dependencies Resolved > > ===============================================================================> Package Arch Version Repository Size > ===============================================================================> Removing: > wine-capi i586 1.1.23-1.fc11 installed 79 k > ... > wine-twain i586 1.1.23-1.fc11 installed 203 k > > Transaction Summary > ===============================================================================> Install 0 Package(s) > Update 0 Package(s) > Remove 11 Package(s) > > Is this ok [y/N]: y > Downloading Packages: > Running rpm_check_debug > Running Transaction Test > Finished Transaction Test > Transaction Test Succeeded > Running Transaction > Erasing : wine-capi-1.1.23-1.fc11.i586 1/11 > ... > Erasing : wine-desktop-1.1.23-1.fc11.i586 11/11 > > Removed: > wine-capi.i586 0:1.1.23-1.fc11 wine-cms.i586 0:1.1.23-1.fc11 > ... > wine-twain.i586 0:1.1.23-1.fc11 > > Complete! > [root at Bakshara ~]# >That did it! Thank you!!!
James McKenzie
2009-Aug-05 04:38 UTC
[Wine] Uninstall old wine version and install new version
Bakshara wrote:> Gert van den Berg, > > Code: > > [Bakshara at Bakshara ~]$ echo $HOME > /home/Bakshara > [Bakshara at Bakshara ~]$ > > > > Under that I found > > >> /download/wine-1.1.24.tar.bz2 >> /download/WineInstallLog >> /Misc/Need2Scan/Linux/Wine/x86 >> 50ComUpd.Exe >> ReadMe.Txt >> License.Txt >> redist.txt >> .config/menus/applications-merged >> win-Programs-??? >> .local/share/applications/wine/Programs/??? >> >> ???=Fantasy Grounds, M$ Office Powerpoint. M$ XML Parser, WinRAR >> >> > > > austin987, > I tried this: > > Code: > > [Bakshara at Bakshara ~]$ sudo yum remove wine* > [sudo] password for Bakshara: > Bakshara is not in the sudoers file. This incident will be reported. > > > > ...and this: (It is VERY LOOOOOOOOOOOOOOOOOOOOONG, so I cut A LOT!) > > Code: > > [root at Bakshara ~]# sudo yum remove wine* > > >Sudo is not required if you are logged in as root. Now go back and install, run and do whatever else you need to do as a non-root user. If Wine will not install for a non-root user, install it as root, but DO NOT RUN IT AS ROOT! This causes many problems. James McKenzie