Skip to contentSkip to conversation

uninstall/re-install iptables

DISCUSSION Mihamina Rakotomandimby 2 participants 2 messages Aug 22, 2003 – Aug 23, 2003

lore
Share & tools
lore
#0 lore raw

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 .

#1 lore raw
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