Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: ensuring COMPLETE uninstallation

  1. #1

    Default ensuring COMPLETE uninstallation

    When I ever did a uninstallation in Windows there were always few residue files like the registry entries and what not.
    I recently uninstalled Wine from cmd line; zypper remove wine --->114mb was freed.
    How can i make sure that there are NO STRAY FILES remaining as a result from this removal?

  2. #2
    Join Date
    May 2010
    Location
    Space Colony Lagrange Point 22° à, 77° Ƅ, 56° ɤ, 99° ɜ
    Posts
    3,166

    Default Re: ensuring COMPLETE uninstallation

    Quote Originally Posted by brucewayne507 View Post
    When I ever did a uninstallation in Windows there were always few residue files like the registry entries and what not.
    I recently uninstalled Wine from cmd line; zypper remove wine --->114mb was freed.
    How can i make sure that there are NO STRAY FILES remaining as a result from this removal?
    Here you go
    FAQ - The Official Wine Wiki
    GNOME Version 3.20.2
    openSUSE Leap 42.3 64-bit

    www.vazhavandan.blogspot.com

  3. #3
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,766
    Blog Entries
    14

    Default Re: ensuring COMPLETE uninstallation

    Quote Originally Posted by brucewayne507 View Post
    When I ever did a uninstallation in Windows there were always few residue files like the registry entries and what not.
    I recently uninstalled Wine from cmd line; zypper remove wine --->114mb was freed.
    How can i make sure that there are NO STRAY FILES remaining as a result from this removal?
    Here comes the "old" one: Linux is not Windows.
    If you do not run any program on wine, wine does nothing. Thinking in terms of "stray files" is a windows-thought. You could simply leave wine installed, keep ~/.wine where it is, it will not do anything unless you start using it. Removing and readding packages is (understatement) not really the linux way to deal with issues.

    A
    Code:
    zypper remove wine
    does what it should do, it removes the files that were installed by installing the wine package. But, wine -at time of installing- may have pulled in a lot of dependencies. You cannot simply remove these, since programs you installed after wine was installed may need them.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  4. #4
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: ensuring COMPLETE uninstallation

    On 04/22/2013 07:56 AM, brucewayne507 wrote:
    > How can i make sure that there are NO STRAY FILES remaining as a result
    > from this removal?


    i could just tell you the answer, but insead i elect to teach you
    where to find the answer, and then tell:

    in a terminal the command "man zypper" results in a long long output
    of "the manual" for zypper..

    if you are using KDE (you should say what you use when you ask a
    question) you can click open Konqueror, and type into the URL block
    Code:
    #zypper
    and thereby see the same manual in a more
    pleasing format, and one you can click links to other commands

    or, you can hold down the left Alt and momentarily press the F2, then
    type
    Code:
    #zypper
    and press enter and the manual will be
    shown in your designated default browser

    in any of those manuals you will find the command line switch "-u" or
    "--clean-deps" which will "Automatically remove dependencies which
    become unneeded after removal of requested packages."

    so instead of using the first line below (as you did) use any of the
    others (they will all give the same result):
    [code]
    zypper remove wine
    zypper remove --clean-deps wine
    zypper rm --clean-deps wine
    zypper remove -u wine
    zypper rm -u wine
    [code]

    i usually pick the one with the least typing!! ;-)

    *or* if you prefer GUI tools: open YaST, click on Software
    Management, search on WINE (or Wine, or wine, or winE, etc) right
    click and select "Delete" then near the window's top, click on
    "Options" and select "Cleanup when deleting packages", then click
    "Accept"

    in any of those cases you may be warned that removing stuff will
    cause problems...and, it sure might...so, don't just remove stuff
    when you are not CERTAIN it is ok to do so..

    Knurpht mentioned that and he IS correct....this is NOT Windows so
    just leave it, it won't hurt anything and you might decide you do
    need it, next week...

    --
    dd
    http://tinyurl.com/DD-Caveat

  5. #5
    Join Date
    May 2010
    Location
    Space Colony Lagrange Point 22° à, 77° Ƅ, 56° ɤ, 99° ɜ
    Posts
    3,166

    Default Re: ensuring COMPLETE uninstallation

    Quote Originally Posted by Knurpht View Post
    You could simply leave wine installed, keep ~/.wine where it is, it will not do anything unless you start using it. Removing and readding packages is (understatement) not really the linux way to deal with issues.
    Wine messes with a lot of other folders other than ~/.wine like ~/.local/... and ~/.config according to
    FAQ - The Official Wine Wiki
    I think the op was referring to these as stray files

    @brucewayne507 - while UN-installing using zypper did you use "-u" param ?

    Code:
    -u, --clean-deps
    Automatically remove dependencies which become unneeded after
    removal of requested packages.
    
    GNOME Version 3.20.2
    openSUSE Leap 42.3 64-bit

    www.vazhavandan.blogspot.com

  6. #6

    Default Re: ensuring COMPLETE uninstallation

    Quote Originally Posted by vazhavandan View Post
    Thanks for the link
    What I meant was a general reason to eliminate the remaining files after uninstallation. Wine was just an example

  7. #7

    Default Re: ensuring COMPLETE uninstallation

    Quote Originally Posted by DenverD View Post
    On 04/22/2013 07:56 AM, brucewayne507 wrote:
    > How can i make sure that there are NO STRAY FILES remaining as a result
    > from this removal?


    i could just tell you the answer, but insead i elect to teach you
    where to find the answer, and then tell:

    in a terminal the command "man zypper" results in a long long output
    of "the manual" for zypper..

    if you are using KDE (you should say what you use when you ask a
    question) you can click open Konqueror, and type into the URL block
    Code:
    #zypper
    and thereby see the same manual in a more
    pleasing format, and one you can click links to other commands

    or, you can hold down the left Alt and momentarily press the F2, then
    type
    Code:
    #zypper
    and press enter and the manual will be
    shown in your designated default browser

    in any of those manuals you will find the command line switch "-u" or
    "--clean-deps" which will "Automatically remove dependencies which
    become unneeded after removal of requested packages."

    so instead of using the first line below (as you did) use any of the
    others (they will all give the same result):
    [code]
    zypper remove wine
    zypper remove --clean-deps wine
    zypper rm --clean-deps wine
    zypper remove -u wine
    zypper rm -u wine
    [code]

    i usually pick the one with the least typing!! ;-)

    *or* if you prefer GUI tools: open YaST, click on Software
    Management, search on WINE (or Wine, or wine, or winE, etc) right
    click and select "Delete" then near the window's top, click on
    "Options" and select "Cleanup when deleting packages", then click
    "Accept"

    in any of those cases you may be warned that removing stuff will
    cause problems...and, it sure might...so, don't just remove stuff
    when you are not CERTAIN it is ok to do so..

    Knurpht mentioned that and he IS correct....this is NOT Windows so
    just leave it, it won't hurt anything and you might decide you do
    need it, next week...

    --
    dd
    http://tinyurl.com/DD-Caveat
    Thanks a lot for the above tutorial that you taught me. Worth it!!

  8. #8

    Default Re: ensuring COMPLETE uninstallation

    Quote Originally Posted by vazhavandan View Post
    Wine messes with a lot of other folders other than ~/.wine like ~/.local/... and ~/.config according to
    FAQ - The Official Wine Wiki
    I think the op was referring to these as stray files

    @brucewayne507 - while UN-installing using zypper did you use "-u" param ?

    Code:
    -u, --clean-deps
    Automatically remove dependencies which become unneeded after
    removal of requested packages.
    
    This is what i was looking for!!
    removing unneeded dependencies after uninstallation.Thanks a lot..

  9. #9

    Default Re: ensuring COMPLETE uninstallation

    Conclusions:

    1.Learnt about the differences after uninstallation in Linux and Windows
    2.Shall be using the -u option while uninstalling;making sure there arent any unused dependencies that wont be needed in future
    3.Shall be implementing the use of tutorial that DenverD gave and will try to explore new ones .Very helpful!!

  10. #10
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: ensuring COMPLETE uninstallation

    > Thanks a lot

    welcome.

    lots of learning to do during this transition..

    --
    dd

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •