How does one remove an intallation of Wine for one user only

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
pj
Level 2
Level 2
Posts: 29
Joined: Thu Dec 18, 2008 1:32 pm

How does one remove an intallation of Wine for one user only

Post by pj »

Hello,

I inadvertently installed Wine as root after installing it as the user. I would like to remove the root installation, but not touch the user installation. Is there a special way of doing this, or does one just delete the folder?

kind regards,
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

How does one remove an intallation of Wine for one user only

Post by austin987 »

On Fri, Dec 19, 2008 at 4:03 PM, pj <[email protected]> wrote:
Hello,

I inadvertently installed Wine as root after installing it as the user. I would like to remove the root installation, but not touch the user installation. Is there a special way of doing this, or does one just delete the folder?

kind regards,





Depends on how you ran it. If you logged in as root, then the wine
folder for root is under /root/.wine. If you used 'sudo wine
program.exe', then the user's install was used, and you'd need to
remove $HOME/.wine.

--
-Austin
James McKenzie

How does one remove an intallation of Wine for one user only

Post by James McKenzie »

Austin English wrote:
On Fri, Dec 19, 2008 at 4:03 PM, pj <[email protected]> wrote:
Hello,

I inadvertently installed Wine as root after installing it as the user. I would like to remove the root installation, but not touch the user installation. Is there a special way of doing this, or does one just delete the folder?

kind regards,






Depends on how you ran it. If you logged in as root, then the wine
folder for root is under /root/.wine. If you used 'sudo wine
program.exe', then the user's install was used, and you'd need to
remove $HOME/.wine.

If the user ran Wine using sudo wine program.name then the command to
remove the Wine directory with borked permissions is:

sudo rm -rf $HOME/.wine

This will remove any and all installed programs under Wine as well but
will NOT remove their menu entries in KDE or Gnome.

James McKenzie
Locked