LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-12-2003, 08:30 PM   #1
ICO
Member
 
Registered: Aug 2003
Location: ~/.
Distribution: CentOS
Posts: 290

Rep: Reputation: 30
Hi, another 2 questions on entry level.


1. I have installed a software in usr/local/
How can I uninstall it? Just kill the diroectory and everything inside it? I don't think it is the correct way to do so.

2. I have a software, I un-tar it, and find a file called install-sh, how to execute it? Or I was looking for a wrong file to launch the installation.

Thanks a lot.
 
Old 09-12-2003, 08:45 PM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
1) first, NO you will not delete /usr/local cause you'll bring down a lot with it, so the way you uninstall it depends on how you originally installed the program, if :::
you used rpm ->
rpm -e packagename
you used tarball ->
cd into the source directory (the extracted tarball)
and type the following
make uninstall

if your removed the source directory then you can look into the program called checkinstall ..
if there is a file called install-sh then more then likely all you will have to do is type one of the following (both are equivalent) ::
./install-sh
or...
sh install-sh
the typical steps for installing a tarball are ::
./configure
make
su -c "make install"
type root password

but if you are in the extracted folder and there is no configure script and the install-sh is one of the executable files in the folder then more then likely that script is set to install whatever you are trying to install.....everything is different, so that install-sh could be just to install some extra feature or something, i do not know as you didn't mention what you are trying to install or what the other executable files are, etc, etc...
but i think with the info given, you will be able to figure things out from there....
 
Old 09-12-2003, 09:03 PM   #3
ICO
Member
 
Registered: Aug 2003
Location: ~/.
Distribution: CentOS
Posts: 290

Original Poster
Rep: Reputation: 30
Actually I installed Mozilla 1.4, and I want to uninstall it now.
I untar the tar file, and run the installer, and it downloads files from the web, and then install.
Now I go to the installed directory "/usr/local/mozilla", there is nothing looks like an uninstall command.
What should I do?
 
Old 09-12-2003, 09:06 PM   #4
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
well you obviosuly misunderstood what i said....i'll recap...
i said if you installed from source (tar.gz, tar.bz2) etc, etc..these are the files that you have to untar and uncompress...and when you do that to the compressed file you then get the source directory....which is the file you downloaded now extracted....
i am not reffering to the installation directory which is /usr/local/mozilla in your case, and no it does not have an uninstall command there...
 
Old 09-12-2003, 09:29 PM   #5
ICO
Member
 
Registered: Aug 2003
Location: ~/.
Distribution: CentOS
Posts: 290

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by DrOzz
well you obviosuly misunderstood what i said....i'll recap...
i said if you installed from source (tar.gz, tar.bz2) etc, etc..these are the files that you have to untar and uncompress...and when you do that to the compressed file you then get the source directory....which is the file you downloaded now extracted....
i am not reffering to the installation directory which is /usr/local/mozilla in your case, and no it does not have an uninstall command there...
Thanks.
I am downloading the check-install thing
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
entry-level self-made linux workstation ideas feldux Linux - Hardware 3 10-30-2005 02:43 AM
FreeBSD - 3 install questions (NB level) stevesk *BSD 5 08-30-2005 07:21 PM
Entry-Level Distribution TastyWheat Linux - Newbie 3 11-02-2004 02:15 PM
open source entry level desktop publishing for windows? crazyeddie740 General 5 06-26-2004 01:21 PM
good entry level graphics card with stable drivers dukeinlondon Linux - Hardware 2 01-27-2004 05:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration