Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > SuSE Linux Help > How to uninstall a *.sh program

Forgot Password?
 SuSE Linux Help   For help and discussions related to SuSE Linux

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 07-02-2009   #1 (permalink)
Linux Newbie
 
Join Date: Feb 2007
Location: USA
Posts: 204
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 - SP2
OpenSuse 11.1, KDE 4.1.3
OpenSuse 11.1, KDE 4.2
MikeH30 is offline  


Reply With Quote
Old 07-02-2009   #2 (permalink)
Super Moderator
 
devils casper's Avatar
 
Join Date: Jun 2006
Location: Chandigarh, India
Posts: 21,081
Send a message via Yahoo to devils casper
Check if there is any un-install script available for swiftfox. If there isn't any, you have to remove it manually.
__________________
It takes a lot of time to be a genius, you have to sit around so much doing nothing, really doing nothing. - Gertrude Stein
New Users: Read This First
devils casper is offline   Reply With Quote
Old 07-02-2009   #3 (permalink)
Trusted Penguin
 
gogalthorp's Avatar
 
Join Date: Oct 2006
Location: West (by God) Virginia
Posts: 2,662
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.
gogalthorp is offline   Reply With Quote
Old 07-02-2009   #4 (permalink)
Linux Newbie
 
Join Date: Feb 2007
Location: USA
Posts: 204
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 - SP2
OpenSuse 11.1, KDE 4.1.3
OpenSuse 11.1, KDE 4.2
MikeH30 is offline   Reply With Quote
Old 07-02-2009   #5 (permalink)
Trusted Penguin
 
waterhead's Avatar
 
Join Date: Jul 2004
Location: Franklin, Wisconsin
Posts: 3,957
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 PM me with requests for help. I will not reply.
waterhead is offline   Reply With Quote
Old 07-02-2009   #6 (permalink)
Linux Newbie
 
Join Date: Feb 2007
Location: USA
Posts: 204
Thanks Waterhead. I didn't even see that link.

-Mike
__________________
Suse Linux Enterprise Server 11
Suse Linux Enterprise Server 10 - SP2
OpenSuse 11.1, KDE 4.1.3
OpenSuse 11.1, KDE 4.2
MikeH30 is offline   Reply With Quote
Old 07-02-2009   #7 (permalink)
Linux Newbie
 
Join Date: Feb 2007
Location: USA
Posts: 204
# 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 - SP2
OpenSuse 11.1, KDE 4.1.3
OpenSuse 11.1, KDE 4.2
MikeH30 is offline   Reply With Quote
Old 07-02-2009   #8 (permalink)
Trusted Penguin
 
waterhead's Avatar
 
Join Date: Jul 2004
Location: Franklin, Wisconsin
Posts: 3,957
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 PM me with requests for help. I will not reply.
waterhead is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 01:19 PM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2