Koozali.org: home of the SME Server
Contribs.org Forums => General Discussion => Topic started 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
-
You first need to determine what version you have.
rpm -q sme7-ddclient*
(I think that will give you the version)
Then erase that version
rpm -e sme7-ddclent
or perhaps
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:
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
-
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??
-
shriddx.
To see a list of all installed packages, use
# rpm -qa | less
That should show up the ddclient if it is still installed.
Then just do an "rpm - e {package name}"
eg rpm -e not-wanted-package
or rpm -e not-wanted-package-x.y.z-n.noarch.rpm
(or whatever the "rpm -qa" listed).
Cheers
Ian
-
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
-
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:
/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...)
-
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:
cd /; tar tvzf /tmp/test.tgz | awk '{print $6}' | xargs rm -f
Be 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".
-
Thanks everybody!!!
Not been online for a couple of days.
I'll have a go with those suggestions.
Steve