Results 1 to 7 of 7

Thread: Remove Application Installed By Shell

  1. #1

    Default Remove Application Installed By Shell

    So I was following the instructions here http://forums.opensuse.org/english/g...2-3-64bit.html to install a sort of netflix player on an opensuse 12.3 64 bit OS. However, halfway through I found it to be more trouble than it was worth, and decided to quit. Unfortunately, I don't know how to uninstall the PostInstallerF, as the shell only seemed to have an install mechanism. I'm wondering if there is a way to uninstall it? I guess it really isn't that important, as it won't take up much space on my hard drive, but at the same time it is a package floating around that might be doing things in the background that would take up processing power.

    Thanks.

  2. #2
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Remove Application Installed By Shell

    On 2013-10-03 09:36, fischer77 wrote:
    >
    > So I was following the instructions here http://tinyurl.com/myhpkq9 to
    > install a sort of netflix player on an opensuse 12.3 64 bit OS.
    > However, halfway through I found it to be more trouble than it was
    > worth, and decided to quit. Unfortunately, I don't know how to
    > uninstall the PostInstallerF, as the shell only seemed to have an
    > install mechanism. I'm wondering if there is a way to uninstall it? I
    > guess it really isn't that important, as it won't take up much space on
    > my hard drive, but at the same time it is a package floating around that
    > might be doing things in the background that would take up processing
    > power.


    If there is no uninstaller you have to find each file and remove them
    one by one.


    There is a trick that might work, though. If you create an rpm using
    "checkinstall", then you can simply remove the rpm - but config changes
    the script might do are not reproduced nor removed.


    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.3 x86_64 "Dartmouth" at Telcontar)

  3. #3

    Default Re: Remove Application Installed By Shell

    And at which point did you abort?

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

    Default Re: Remove Application Installed By Shell

    Quote Originally Posted by wolfi323 View Post
    And at which point did you abort?
    In fact,
    To track and discover the changes it might be useful to run the installer again but pipe it to a file for later reference so you can manually remove and undo changes, eg
    Code:
    install.sh > stdout.txt
    Now, you can open stdout.txt and undo everything up to the point you abort.

    TSU

  5. #5

    Default Re: Remove Application Installed By Shell

    Quote Originally Posted by tsu2 View Post
    In fact,
    To track and discover the changes it might be useful to run the installer again but pipe it to a file for later reference so you can manually remove and undo changes, eg
    Code:
    install.sh > stdout.txt
    Now, you can open stdout.txt and undo everything up to the point you abort.
    But only if that install script provides useful output, not all do...

    Actually I wanted to know at which point in the instructions (http://forums.opensuse.org/english/g...2-3-64bit.html) he aborted.
    Only then would it be possible to tell what steps are necessary for removing everything again.

    F.e. if he aborted after the first step (wget ...) he would only have to remove the file Netflixplayer.tar.gz, and so on.

    But I think now he aborted during the run of sh Netflixplayer.sh .
    Hm, I won't download 93 MB right now just to have a look what files this installs, sorry.

  6. #6

    Default Re: Remove Application Installed By Shell

    I aborted after the "sh /usr/bin/Netflix.sh" part. So just to clarify, if I run "sh /usr/bin/Netflix.sh > stdout.txt", it will create a list of all the changes that the shell made, so I can later go in and run "sudo rm /all/the/added/files"?

  7. #7
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Remove Application Installed By Shell

    On 2013-10-03 21:16, fischer77 wrote:
    >
    > I aborted after the "sh /usr/bin/Netflix.sh" part. So just to
    > clarify, if I run "sh /usr/bin/Netflix.sh > stdout.txt", it will
    > create a list of all the changes that the shell made, so I can later go
    > in and run "sudo rm /all/the/added/files"?


    Notice that you will not see any output on the script, so if the script
    asks a question, you will never answer it and it will be stuck.

    It would be better to use:

    Code:
    script | tee ouput.lst
    and that will only work if the script generates useful output to the screen.


    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.3 x86_64 "Dartmouth" at Telcontar)

Posting Permissions

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