Find the answer to your Linux question:
Results 1 to 8 of 8
I recently downloaded Swiftfox and ran the installer. sh install-swiftfox.sh Swiftfox does not run on my processor (Intel Core2 Quad CPU Q6600 @ 2.40GHz) so now I want to un-install ...
  1. #1
    Linux Newbie
    Join Date
    Feb 2007
    Location
    USA
    Posts
    221

    How to uninstall a *.sh program



    I recently downloaded Swiftfox and ran the installer.

    sh install-swiftfox.sh

    Swiftfox does not run on my processor (Intel Core2 Quad CPU Q6600 @ 2.40GHz) so now I want to un-install it but can't seem to.

    I tried to un-install with this line of code I found in the SwiftFox Forums:

    sudo apt-get remove swiftfox

    This doesn't work.

    Please advise.

    -Mike
    Suse Linux Enterprise Server 11
    Suse Linux Enterprise Server 10 - SP3
    OpenSuse 11.2, KDE 4.3.1

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,308
    Check if there is any un-install script available for swiftfox. If there isn't any, you have to remove it manually.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Linux Guru gogalthorp's Avatar
    Join Date
    Oct 2006
    Location
    West (by God) Virginia
    Posts
    3,105
    Apt-get is not normally used in Suse. Suse uses the RPM system.

    You might open the script in an editor it may give you clues to where things got installed.

  4. #4
    Linux Newbie
    Join Date
    Feb 2007
    Location
    USA
    Posts
    221
    Here is the script. How do I manually remove a package?

    #!/bin/sh
    #
    # This script installs Swiftfox

    # Download Swiftfox
    echo " "
    echo "Password required to install to /opt directory..."
    echo " "
    cd /opt
    sudo wget http://getswiftfox.com/builds/releas...escott.tar.bz2

    # Install Swiftfox
    echo " "
    echo "Installing Swiftfox..."

    # If there is an existing swiftfox install here let's move it out of the way
    sudo mv swiftfox swiftfox.old

    # Extract the build
    sudo tar -jxf swiftfox-3.5rc3-prescott.tar.bz2

    # Search for plugins
    echo " "
    echo "Searching for existing plugins, errors can be safely ignored..."
    sudo cp swiftfox.old/plugins/* swiftfox/plugins
    sudo cp /usr/lib/firefox/plugins/* swiftfox/plugins
    sudo cp /usr/lib/mozilla/plugins/* swiftfox/plugins
    sudo cp /usr/lib/mozilla-firefox/plugins/* swiftfox/plugins
    sudo cp /usr/lib/browser-plugins/* swiftfox/plugins
    sudo cp /usr/lib/xulrunner-addons/plugins/* swiftfox/plugins

    # Make sure root owns the Swiftfox directory
    sudo chown -hR root:root swiftfox

    # Add link in /usr/bin
    sudo ln -s /opt/swiftfox/swiftfox /usr/bin/swiftfox

    # Add Swiftfox to menu
    cd /usr/share/applications
    sudo wget http://getswiftfox.com/builds/instal...iftfox.desktop

    # Remove the downloaded tarball
    sudo rm /opt/swiftfox-3.5rc3-prescott.tar.bz2

    echo " "
    echo "Swiftfox has been installed. Happy Surfing!"
    echo " "
    exit
    Suse Linux Enterprise Server 11
    Suse Linux Enterprise Server 10 - SP3
    OpenSuse 11.2, KDE 4.3.1

  5. #5
    Linux Guru waterhead's Avatar
    Join Date
    Jul 2004
    Location
    Franklin, Wisconsin
    Posts
    4,570
    You need to go back to the Swiftfox web site and download the uninstaller.

    Swiftfox Installer
    http://getswiftfox.com/builds/instal...ll-swiftfox.sh

    Here's the contents of the uninstall-swiftfox script
    Code:
    #!/bin/sh
    # 
    # This script uninstalls Swiftfox that was installed using the installer
    
    echo " "
    echo "Uninstalling Swiftfox..."
    echo " "
    sudo rm -rf /opt/swiftfox
    sudo rm /usr/bin/swiftfox
    sudo rm ~/Desktop/Swiftfox.desktop
    sudo rm /usr/share/applications/Swiftfox.desktop
    
    echo " "
    echo "Swiftfox has been uninstalled"
    echo " "
    exit
    Paul

    Please do not send Private Messages to me with requests for help. I will not reply.

  6. #6
    Linux Newbie
    Join Date
    Feb 2007
    Location
    USA
    Posts
    221
    Thanks Waterhead. I didn't even see that link.

    -Mike
    Suse Linux Enterprise Server 11
    Suse Linux Enterprise Server 10 - SP3
    OpenSuse 11.2, KDE 4.3.1

  7. #7
    Linux Newbie
    Join Date
    Feb 2007
    Location
    USA
    Posts
    221
    # Make sure root owns the Swiftfox directory
    sudo chown -hR root:root swiftfox

    I am wondering if the reason I was not able to run swiftbox was due to a permissions issue - I installed it while logged in as my user "Mike"
    Suse Linux Enterprise Server 11
    Suse Linux Enterprise Server 10 - SP3
    OpenSuse 11.2, KDE 4.3.1

  8. #8
    Linux Guru waterhead's Avatar
    Join Date
    Jul 2004
    Location
    Franklin, Wisconsin
    Posts
    4,570
    That could be, but you really don't want to run Firefox as root. That would allow access to the operating system to anything evil on a web site.
    Paul

    Please do not send Private Messages to me with requests for help. I will not reply.

Posting Permissions

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