LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 03-13-2005, 07:14 AM   #1
dabash
Member
 
Registered: Feb 2005
Location: Earth
Distribution: redhat AS/ES Ver 3.0 kernel 2.4.21
Posts: 45

Rep: Reputation: 15
uninstall program


hi i install program under linux redhat es ver 3.0
i try to uninstall it but its not working , i cant remove it, so i try to find another way to remove it or at least stop running it so i found under folder etc folders rc0.d rc1.d, rc3.d ,rc4.d under these folder i can start and kill some services
my question is there any problem if i remove the file running the application that i want to remove it from my system ? or is there any proper way to uninstall any program

thanks
 
Old 03-13-2005, 08:48 AM   #2
jonaskoelker
Senior Member
 
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524

Rep: Reputation: 47
first of: read the 'asking smart questions' essay by ESR (http://www.catb.org/~esr/faqs/smart-questions.html)

then, here's a few probing questions:

1) which program did you install?
2) how did you install it?
3) how did you try to uninstall it?
4) what, if any, error messages did you get?
5) what other symptoms are there?

to answer you question: don't remove the whole file. It might work removing just the lines that start/stop your program, but depending on your answers to my questions, there might be a smarter way.

best wishes,

Jonas Kölker.

PS. go to "User CP" -> "distribution" and add your distro(s) there. That way, if you forget to tell which one you have, it's available in the sidebar of your posts.
 
Old 03-13-2005, 09:57 AM   #3
dabash
Member
 
Registered: Feb 2005
Location: Earth
Distribution: redhat AS/ES Ver 3.0 kernel 2.4.21
Posts: 45

Original Poster
Rep: Reputation: 15
hi there and thanks to try help me

1- i install liebert UPS software ( multilink.liebert.com ) i install to monitor my UPS but its not stable on linux and make server hang many times so i decide to remove it

2- i install it by running setup file
3- there is uninstall script but its not running i click it but nothing happened
4- no error messages appears
5- nothing
 
Old 03-13-2005, 10:08 AM   #4
jonaskoelker
Senior Member
 
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524

Rep: Reputation: 47
I don't know the software, but perhaps posting (a link to) the (un)?installation scripts could give me a hint. If they're binaries, post the source.
 
Old 03-13-2005, 10:22 AM   #5
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 53
Quote:
Originally posted by dabash
hi there and thanks to try help me

1- i install liebert UPS software ( multilink.liebert.com ) i install to monitor my UPS but its not stable on linux and make server hang many times so i decide to remove it

2- i install it by running setup file
3- there is uninstall script but its not running i click it but nothing happened
4- no error messages appears
5- nothing
Try doing things from the console. when you click, something, the messages are lost, since the stdio and stderr is not a console. Linux is a console based OS. In windows the graphics are in the kernel. That's actually one of the reasons windows are less stable.

What do you mean by setup file. Can you please post as the program name and the exact setup file? Did you install them through rpm, compiled them from scratch otherway...

Last edited by perfect_circle; 03-13-2005 at 10:26 AM.
 
Old 03-13-2005, 10:36 AM   #6
lumba1
LQ Newbie
 
Registered: Feb 2005
Posts: 28

Rep: Reputation: 15
i would like to know how and why a program installation method would affect the way it should be uninstalled.
i used yum and apt to uninstall a package.it remove the package with its dependencies. You might need to download one of them if they are not already installed.
yum remove package_name , same for apt. i use Mandrake 10.1 now which has install and uninstall wizard in the Mandrakelinux Control Center
 
Old 03-13-2005, 10:46 AM   #7
jonaskoelker
Senior Member
 
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524

Rep: Reputation: 47
lumba1: speaking for apt (I don't know yum/rpm stuff), when you install a program it puts some information in a database; when you uninstall it, it uses that information to undo any changes you made when installing.

If, say, you make && make install, you probably don't put the information in the database; thus, you have to find out what make install did in some other way, and undo it--probably manually, unless make install creates an uninstall script.

My recommendation would be to use the tools provided by your distro (yum, apt, w/e) to (un)?install things, since they are created and/or configured with your distro in mind--makefiles have to be more general and assume less. Well, you do that already, so good for you
 
Old 03-13-2005, 11:21 AM   #8
DeusExLinux
Member
 
Registered: May 2004
Location: Tampa, Fl
Distribution: Arch
Posts: 648

Rep: Reputation: 30
what errors do you get when trying to remove the file through the Mandrake Control Center?

I think you could try

"urpmi -e packagename"

but i'm not too sure about the switch (-e) so type man urpmi into the console to see a list of switches.
 
Old 05-06-2005, 09:13 PM   #9
BaerRS
Member
 
Registered: Oct 2001
Location: Columbus, Ohio
Distribution: all.. but mainly SuSe--- looks like it changing to Red Hat
Posts: 119

Rep: Reputation: 15
Did this issue get resolved ????
 
Old 05-08-2005, 02:39 AM   #10
spindles
Member
 
Registered: May 2005
Location: New Zealand
Distribution: Now Ubuntu 16.04
Posts: 154

Rep: Reputation: 15
Another uninstall problem

I have a similar uninstall problem: i.e. installing an rpm with yast caused yast to hang: no escape but to reboot.
Yast's dbase of packages was wrecked. That's not so bad because it re-makes the dbase later. However I expect Yast has no proper record of the installation. Consequently Yast hangs again if I try to un-installl the package.

The package was a linuxant hsf modem driver.
I hesitate to ask Linuxanrt for detailed advice, they were kind enough to make the basic drivers available for free.

I really want to fix this because Suse doesn't want to start any more, and I think I know why -- Linuxant warns about their driver maybe not getting along with linux's favourite sound card --AC97.
At boot, modem-related stuff loads first, then boot later hangs at AC97, i.e. at loading the via82xx driver, or module, or whatever it is exactly.

However, suse will eventually boot on about the third re-set, so I can get in and try to fix this.

I tried to remove the package from the command line (rpm -e etc) in the ways recommended by Linuxant, but that was also no good - can't remember exactly why. But perhaps it was because
Yast was still hanging at the time.
I don't like to do anything again that will make suse hang: a bad exit just seems to cause problems later.

I deleted some of the hsfmodem files that I could find, so suse would not try to load them at boot.
But there are some files remaining. In my boot.msg it says:
"scanning pci: *******.Wmodprobe: FATAL: Error inserting hsfusbcd2 (/lib/modules/2.6.4-52-default/extra/hsfusbcd2.ko): Unknown symbol in module, or unknown parameter (see dmesg)"
Should I just try deleting that "hsfusbcd2.ko" file? And maybe other hsf/modem-related files in that location?

PS: I posted a question about this in the Newbie forum recently, but no replies yet. Hope it's okay to ask in this thread also.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Uninstall program hlinux Fedora 3 04-21-2005 03:52 PM
How to uninstall a program avidwriter Linux - General 1 03-23-2005 10:08 PM
Uninstall program windefault Linux - Newbie 3 09-12-2004 07:20 PM
How do I uninstall a program? sourlinux Linux - Software 4 01-27-2004 08:25 PM
uninstall program huno Linux - Software 1 12-06-2003 09:47 AM

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

All times are GMT -5. The time now is 04:06 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration