Current position:  Home > Default > How to uninstall a No-Ip2 when i installed it via source?

How to uninstall a No-Ip2 when i installed it via source?

Time:November 30
Advertisement
So i installed No-Ip2 via source, now i want to uninstall it because it is not saving anything and is just being a pain. The source is here if needed: http://www.noip.com/downloads.php?page=linux
I attempted to run the below command:
sudo make uninstall
But it failed and gave me the below error. I was in the same directory as the makefile.
make: *** No rule to make target `uninstall'. Stop.
The README file says nothing about uninstalling. I have no idea how to uninstall it at this point.
Any tips or ideas?
  ~The Dyzaster
Last edited by Dyzaster (2013-03-26 03:26:17)
Advertisement
build() {
cd $srcdir/$pkgname-$pkgver-1
# Their Makefile is fucking horrid, do it by hand instead
sed -i '/^#define CONFIG_FILEPATH/s/PREFIX//' noip2.c
sed -i '/^#define CONFIG_FILENAME/s/PREFIX//' noip2.c
cc -Wall $CLFAGS $LDFLAGS -g -Dlinux -DPREFIX=/usr noip2.c -o noip2
  WonderWoofy, that is the second funniest thing I have seen all day.
It looks like the official package has the two files identified by WonderWoofy, plus a service file.
package() {
cd $srcdir/$pkgname-$pkgver-1
install -Dm755 noip2 $pkgdir/usr/bin/noip2
install -Dm755 ../noip-rc.d $pkgdir/etc/rc.d/noip
install -Dm644 ../noip2.service $pkgdir/usr/lib/systemd/system/noip2.service
Although, the files from the official package do not go to /local/bin, so be sure you go to /local and remove the files WonderWoofy identified and remove them.  DO NOT just install the package from community.