Skip to Content.
Sympa Menu

baslinux - Re: [BL] ipfwadm in BL3

baslinux AT lists.ibiblio.org

Subject: Baslinux mailing list

List archive

Chronological Thread  
  • From: "Carl Reaburn" <carlreaburn AT attech.net.au>
  • To: <baslinux AT lists.ibiblio.org>
  • Subject: Re: [BL] ipfwadm in BL3
  • Date: Tue, 22 Feb 2005 06:58:10 +1100

----- Original Message ----- From: "sindi keesan" <keesan AT sdf.lonestar.org>
To: <baslinux AT lists.ibiblio.org>
Sent: Tuesday, February 22, 2005 4:04 AM
Subject: Re: [BL] ipfwadm in BL3


>
Carl Reaburn wrote:

/sbin<#>ls
BL1: Slackware 3.5 kernels/modules Slackware 3.5 packages
BL2: Slackware 7.1 kernels/modules Slackware 7.1 packages
BL3 Slackware 7.1 kernels/modules Slackware 4.0 packages

I did use slackware 7.1, bugger! Now how the hell am I going to get it all out again? I don't suppose there is an uninstall?

Put tcpip2.tgz on your computer. Go to that directory and type d (or links .) or type d followed by the path to that file, to get a list of all the files in that directory. Arrow down, hit Enter key, which will list all the files in the package and where they end up (except sometimes some of them are moved around and symlinks made by an install script doinst.sh). They are probably in just a few directories and you can either delete the entire directory if nothing else is in there, or delete using *.

Thanks to that handy manifest file I was able to construct an uninstall script

EG:
***
rm sbin/ipfwadm
rm sbin/ipfwadm-2.3.0
rm sbin/ipchains
rm sbin/dhclient
...etc
***

worked like a charm.


You can use the same technique, after installing a package, to remove the parts you do not need (such as ytalk - used for chat between two users on your system), but first type ldd ipwdadm to make sure you don't need any of them - it will list libraries that you need. If you did not see anything in a library directory you may not need to do this.

Or you can in some cases just extract the parts you want with tar but someone else will have to explain how as it did not work for me. You can put the file in /tmp or somewhere else where it is not going to get mixed up with other things, then tar -zxvf tcpip2.tgz and extract it all with the directory structure that it needs (but under /tmp) and then copy over the pieces you want and delete the stuff in /tmp when you are done (/tmp/usr/sbin etc.) I do this but Steven says it is likely to cause problems and he prefers to install the whole package. (Fine if you have the space but I don't always).

I removed them from the install file with winrar before installing it into linux? it was a lot easier than hunting them down afterwards.

I now have a working ipchains command in my linux.

Time to fire up some of those How-to's and learn the new firewall syntax.

Thank you to all those who helped. I have learned a lot about finding and installing packages in linux.







Archive powered by MHonArc 2.6.24.

Top of Page