uninstall/re-install iptables
Hi every body ,
i'm running slack 9 with a 2.4.21 kernel
I got iptables 1.2.8 from netfilter website .
I first removed the slack package (1.2.7a) with the appropriate tool , and then a I made :
- untar the sources of iptables
- cd into the source directory
- make KERNEL_DIR=/usr/src/linux
- su
- make install KERNEL_DIR=/usr/src/linux
The problem is that it installed the iptables files into /usr/local . I dont like it to be this way .
- There is not rules to "make uninstall" .Will it be enough to remove all the copied files during the install process ?
- what option have i got to specify to have it installed at /usr ( rather than the default /usr/local )?
Thanks in advance for your help .
Quoted 5 lines · Mihamina Rakotomandimby
- There is not rules to "make uninstall" .Will it be enough to remove all the copied files during the install process ?
- what option have i got to specify to have it installed at /usr ( rather than the default/usr/local)?
It's actually in the INSTALL file.
% make BINDIR=/usr/bin LIBDIR=/usr/lib MANDIR=/usr/man % make BINDIR=/usr/bin LIBDIR=/usr/lib MANDIR=/usr/man install
hth