Re: How to Uninstall iptables?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Le ven 12/09/2003 à 11:06, ads nat a écrit :
> I want to uninstall existing iptables 1.2.6a and install 1.2.8 fresh.
> Guide me how to uninstall iptables 1.2.6a.

It depends on how you installed iptables 1.2.6a.

If you installed it from your distribution package, then you have to use
the package mangement tool to remove the iptables package :

	apt-get remove iptables (Debian)
	rpm -e iptables (Red Hat)
	etc.

Hence, you can keep this package if dependencies want it. As an example,
on Debian distros, a packet filter is required, ipchains or iptables.
You can still install iptables 1.2.8 from source in /usr/local then set
your PATH such as /usr/local/sbin is searched before /sbin. Finally, you
can upgrade this package to the latest version :

	apt-get install iptables (Debian)

If you installed iptables from source, then a new iptables installation
from sources will overwrite the old one. However, files should be :

	in /usr/local/sbin for binaries (iptables*, ip6tables*)
	in /usr/local/lib/iptables for extensions
	in /usr/local/man/man8 for manpages (iptables*.8, ipt6tables*.8)

Just delete all of them, if you want to be sure.

Afaik, there's also a "make uninstall" available.

-- 
http://www.netexit.com/~sid/
PGP KeyID: 157E98EE FingerPrint: FA62226DA9E72FA8AECAA240008B480E157E98EE



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux