Koozali.org: home of the SME Server

How to remove 'ddclient'...?

Offline shriddx

  • ***
  • 44
  • +0/-0
How to remove 'ddclient'...?
« on: May 06, 2009, 09:35:22 PM »
Installed this on my server but now I've a new router which can deal with Dynamic DNS registrations itself... so don't want two clients running..

Question is... I'm a complete novice with Linux and don't know how I uninstall things...

Anyone give me a quick list of instructions that I can follow parrot fashion, please?

Thanks in anticipation!

Steve

Offline idp_qbn

  • *****
  • 347
  • +0/-0
Re: How to remove 'ddclient'...?
« Reply #1 on: May 07, 2009, 12:47:40 PM »
You first need to determine what version you have.
Code: [Select]
rpm -q sme7-ddclient*(I think that will give you the version)
Then erase that version
Code: [Select]
rpm -e sme7-ddclentor perhaps
Quote
rpm -e sme7-ddclient-3.7.3-4.noarch.rpm

(change the numbers to match what your system has installed.)

I don't have ddclient installed so I can't check for sure but I think this is the way you can remove (erase) it.

You can also use YUM to un-install packages so the following may also do it:
Code: [Select]
yum remove sme7-ddclient
see the following on using yum
http://fedoraforum.org/forum/showthread.php?t=25880

Cheers
Ian
___________________
Sydney, NSW, Australia

Offline shriddx

  • ***
  • 44
  • +0/-0
Re: How to remove 'ddclient'...?
« Reply #2 on: May 09, 2009, 12:28:01 AM »
Ummm...

Didn't install a version with 'sme7' as part of the filename.

Think I downloaded it direct from DynDNS's web site and just ran the .tar.gz file or something.

Anyway, I've just removed the 'virtual domain' it publishes so think that will have made it inactive to all intents and purposes??

Offline idp_qbn

  • *****
  • 347
  • +0/-0
Re: How to remove 'ddclient'...?
« Reply #3 on: May 09, 2009, 05:37:08 AM »
shriddx.

To see a list of all installed packages, use
Code: [Select]
# rpm -qa | lessThat should show up the ddclient if it is still installed.

Then just do an "rpm - e {package name}"
eg
Code: [Select]
rpm -e not-wanted-packageor
Code: [Select]
rpm -e not-wanted-package-x.y.z-n.noarch.rpm (or whatever the "rpm -qa" listed).




Cheers
Ian
___________________
Sydney, NSW, Australia

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: How to remove 'ddclient'...?
« Reply #4 on: May 09, 2009, 08:14:17 AM »
Quote
Didn't install a version with 'sme7' as part of the filename.

Think I downloaded it direct from DynDNS's web site and just ran the .tar.gz file or something.

in this case only you could know how to remove it.. find it (using find) and delete.. delete also ddclient.conf and, of course, any reference to the executable..

next time, use the rpm and follow the howto ;-)

ciao
Stefano

Offline mmccarn

  • *
  • 2,651
  • +10/-0
Re: How to remove 'ddclient'...?
« Reply #5 on: May 09, 2009, 10:39:48 PM »
If the file you installed came in an "rpm" package, you can run the sme 'newrpms' audit tool to get a list of non-standard rpms installed on your server.  One of these should be the file you're trying to remove:
Code: [Select]
/sbin/e-smith/audittools/newrpms
If you downloaded and installed "ddclient.tar.gz" file from the link provided at http://www.dyndns.com/support/clients/unix.html you'll need to either figure it out yourself or ask at DynDNS or at the ddclient home page (unless someone chimes in here who has this installed on a SME server...)

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: How to remove 'ddclient'...?
« Reply #6 on: May 10, 2009, 05:57:56 PM »
If you downloaded and installed "ddclient.tar.gz" file from the link provided at http://www.dyndns.com/support/clients/unix.html you'll need to either figure it out yourself or ask at DynDNS or at the ddclient home page (unless someone chimes in here who has this installed on a SME server...)
If you still have the downloaded tgz file available you might be able to do soemthing like this:
Code: [Select]
cd /; tar tvzf /tmp/test.tgz | awk '{print $6}' | xargs rm -fBe carefull above will remove all files found in the archive relative to / without asking, if you want to be prompted for every file please remove the "-f".
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline shriddx

  • ***
  • 44
  • +0/-0
Re: How to remove 'ddclient'...?
« Reply #7 on: May 11, 2009, 12:59:04 PM »
Thanks everybody!!!

Not been online for a couple of days.

I'll have a go with those suggestions.

Steve