Results 1 to 3 of 3

Thread: How to uninstall a script?

  1. #1
    Join Date
    May 2008
    Beans
    Hidden!

    How to uninstall a script?

    Hello,

    I attempted to install flash for my x64 9.04 installation using this script:

    http://www.cyberciti.biz/tips/instal...comment-150888

    However, I have no audio (and according to PulseAudio, it isn't sending out a signal) so I want to uninstall and reinstall using a different method. How exactly do I go about uninstalling this script?

    Thanks a ton. I have posted it below.

    Code:
    #!/bin/bash
    # Script  created by
    # Romeo-Adrian Cioaba romeo.cioaba@spotonearth.com
    # Super minor updates by jason.melton[at]gmail[dot]com
    # Updates by Alejandro Cuervo 3[at]cuervo[dot]net
    # more very minor updates by damien[at]groovey[dot]com
    # Released under GPL
    
    echo "Closing Firefox"
    sudo killall -9 firefox
    
    echo "Downloading and instaling Getlibs for required libraries"
    wget http://www.boundlesssupremacy.com/Ca...etlibs-all.deb
    sudo dpkg -i getlibs-all.deb
    
    echo "Removing previous installs of flash:"
    sudo apt-get remove -y --purge flashplugin-nonfree gnash gnash-common mozilla-plugin-gnash swfdec-mozilla libflashsupport nspluginwrapper
    sudo rm -f /usr/lib/mozilla/plugins/*flash*
    sudo rm -f ~/.mozilla/plugins/*flash*
    sudo rm -f /usr/lib/firefox/plugins/*flash*
    sudo rm -f /usr/lib/firefox-addons/plugins/*flash*
    sudo rm -rfd /usr/lib/nspluginwrapper
    
    echo "Installing ia32-libs and nspluginwrapper"
    sudo apt-get install ia32-libs nspluginwrapper
    
    echo "Getting libs"
    sudo getlibs -p libcurl3
    sudo getlibs -p libnss3-1d
    sudo getlibs -p libnspr4-0d
    
    echo "Installing Flash Player 10"
    cd ~
    wget http://fpdownload.macromedia.com/get...0_linux.tar.gz
    tar zxvf install_flash_player_10_linux.tar.gz
    sudo mv libflashplayer.so /usr/lib/mozilla/plugins/
    sudo nspluginwrapper -i /usr/lib/mozilla/plugins/libflashplayer.so
    
    echo "Linking the libraries so that firefox can see them."
    sudo ln -sf /usr/lib/nspluginwrapper/plugins/npwrapper.libflashplayer.so /usr/lib/mozilla/plugins/
    sudo ln -sf /usr/lib/nspluginwrapper/plugins/npwrapper.libflashplayer.so /usr/lib/firefox-addons/plugins/
    
    echo "Done :-)"
    echo "You may re-start Firefox now"
    P.S. How do I increase my scrolling rate?
    Last edited by Treeh; October 26th, 2009 at 02:07 PM.

  2. #2
    TenPlus1's Avatar
    TenPlus1 is offline Grande Half-n-Half Cinnamon Ubuntu
    Join Date
    May 2005
    Location
    Scotland, UK
    Beans
    920
    Distro
    Lubuntu

    Re: How to uninstall a script?

    Like in the actual script, execute these commands to remove any versions of flash on your system:

    sudo rm -f /usr/lib/mozilla/plugins/*flash*
    sudo rm -f ~/.mozilla/plugins/*flash*
    sudo rm -f /usr/lib/firefox/plugins/*flash*
    sudo rm -f /usr/lib/firefox-addons/plugins/*flash*
    sudo rm -rfd /usr/lib/nspluginwrapper

    Then pop into Synaptic Packaga Manager and search for "Flash" and install "Flashplugin-installer" to install the latest version...

  3. #3
    Join Date
    May 2008
    Beans
    Hidden!

    Re: How to uninstall a script?

    Quote Originally Posted by TenPlus1 View Post
    Like in the actual script, execute these commands to remove any versions of flash on your system:

    sudo rm -f /usr/lib/mozilla/plugins/*flash*
    sudo rm -f ~/.mozilla/plugins/*flash*
    sudo rm -f /usr/lib/firefox/plugins/*flash*
    sudo rm -f /usr/lib/firefox-addons/plugins/*flash*
    sudo rm -rfd /usr/lib/nspluginwrapper

    Then pop into Synaptic Packaga Manager and search for "Flash" and install "Flashplugin-installer" to install the latest version...
    Great, it worked...but it didn't fix my initial problem...I still get no sound from flash videos, and they don't show up in PulseAudio as shown below (note, I'm using the ASUS Xonar STX card: http://www.alsa-project.org/main/ind...:Vendor-Asus):

    Last edited by Treeh; October 26th, 2009 at 02:26 PM.

Bookmarks

Posting Permissions

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