Koozali.org: home of the SME Server

Contribs.org Forums => General Discussion => Topic started by: shriddx on May 06, 2009, 09:35:22 PM

Title: How to remove 'ddclient'...?
Post by: shriddx 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
Title: Re: How to remove 'ddclient'...?
Post by: idp_qbn 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 (http://fedoraforum.org/forum/showthread.php?t=25880)

Cheers
Ian
Title: Re: How to remove 'ddclient'...?
Post by: shriddx 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??
Title: Re: How to remove 'ddclient'...?
Post by: idp_qbn 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
Title: Re: How to remove 'ddclient'...?
Post by: Stefano 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
Title: Re: How to remove 'ddclient'...?
Post by: mmccarn 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...)
Title: Re: How to remove 'ddclient'...?
Post by: cactus 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".
Title: Re: How to remove 'ddclient'...?
Post by: shriddx 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