Results 1 to 7 of 7

Thread: how to uninstall a program

  1. #1
    Join Date
    Feb 2013
    Location
    Indiana
    Posts
    267

    Default how to uninstall a program

    A few days back I was in a search for a envelope printing program. Didn't find anything useful but I did install several programs that I no longer want.

    How do I go about removing those programs with all their files, and is there a danger of messing up my system in doing so.
    Mike

    AMD Athlon(tm) II X3 435 Processor, (RAM): 8.0 GiB, openSUSE Leap 42.2, (x86_64)
    KDE: 4.10, ATI Radeon HD Graphics

  2. #2
    Join Date
    Nov 2013
    Location
    Kamloops, BC, Canada
    Posts
    3,974

    Default Re: how to uninstall a program

    More details are required, including openSUSE version, and especially what programs you installed and how you installed them.
    -Gerry Makaro
    Fraser-Bell Info Tech
    Solving Tech Mysteries since the Olden Days!
    ~~
    If I helped you, consider clicking the Star at the bottom left of my post.

  3. #3
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    24,872

    Default Re: how to uninstall a program

    When you choose OTHER VERSION for your thread from the top menu, we hope that the fact that you are forced to do that (because you have a version that is not in the list) triggers you to tell the openSUSE version you have prominently in your thread.
    Henk van Velden

  4. #4
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    10,942
    Blog Entries
    2

    Default Re: how to uninstall a program

    Quote Originally Posted by mike7757 View Post
    A few days back I was in a search for a envelope printing program. Didn't find anything useful but I did install several programs that I no longer want.

    How do I go about removing those programs with all their files, and is there a danger of messing up my system in doing so.
    In general,
    Applications are installed either from packages or not (ie. often compiled from source, but also other means like simply copying files).
    Applications which have been packaged typically as RPMs are managed by a package manager, which generally means that the installed application's dependencies will be automatically identified and installed as well.

    So, then what happens when a managed app is uninstalled?
    The Package Manager will ensure that the system will continue to run after the application is removed, components which are still needed by other apps or the system are not removed. But, note that uninstalling will <not> return the system to what was prior to the app being installed, you cannot expect not to leave some extra files lying around.

    Additionally, even with packaged applications, personal data (files) can be generated. These files are almost never removed automatically, you have to remove manually.

    Applications that are compiled from source, for instance any apps which might require you to "make" have no means to uninstall files.

    Applications that are copied, eg if you are running a script or a binary which was simply copied to your system have no means to install files.

    So, if you expect you want to really wipe the application when you're done with it, your main option probably is to make a backup prior to installing and then restore using the backup, and this can be done a number of different ways.

    - I use virtualization a lot, particularly for experimentation. Simply make a copy of the virtual machine (my preferred) or create a snapshot (if supported, but beware the complications).
    - Do an image based backup (much faster than a file based backup).
    - If the partition where the application is installed supports snapshots (like BTRFS), then note the exact time the app is installed to know what snapshot you will want to roll back to.

    Any of the above are good strategies, just don't go about ripping things out unless you really know what you're doing... or know how you can recover from any mistakes.

    HTH,
    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  5. #5
    graham NNTP User

    Default Re: how to uninstall a program

    tsu2 wrote:


    >
    > Applications that are compiled from source, for instance any apps which
    > might require you to "make" have no means to uninstall files.
    >

    If you are lucky, some of these can be uninstalled with "make uninstall"


  6. #6
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    10,942
    Blog Entries
    2

    Default Re: how to uninstall a program

    Quote Originally Posted by graham View Post
    tsu2 wrote:


    >
    > Applications that are compiled from source, for instance any apps which
    > might require you to "make" have no means to uninstall files.
    >

    If you are lucky, some of these can be uninstalled with "make uninstall"
    How true!
    <Some> makefiles contain instructions for uninstall, but I very rarely encounter them.
    So, yes, that should also be tried.

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  7. #7

    Cool Re: how to uninstall a program

    if you used yast you can simply unselect or mark them as uninstall.
    if you used rpms
    ============================
    rpm -e or --erase PACKAGE_NAME
    ============================
    Cheers!

Posting Permissions

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