Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!

Ogłoszenie

Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.

#1  2005-12-22 10:45:37

  korbol - Członek DUG

korbol
Członek DUG
Zarejestrowany: 2005-04-29

Usunięcie programu instalowanego ze zrodel bez ich obecnosci

Instalnolem sobie dawno temu nowsza wersje iptables ze zrodel nie odinstalowywując tej ktorą mialem zassaną aptem.
Pytanie:
Czy moge poprostu wywalić

Kod:

usr/local/sbin/iptables /usr/local/lib/iptables

?
Bo inaczej chyba tego nie usune?


Pozdrawiam

Offline

 

#2  2005-12-22 12:00:54

  Bodzio - Ojciec Założyciel

Bodzio
Ojciec Założyciel
Skąd: Gorlice
Zarejestrowany: 2004-04-17
Serwis

Re: Usunięcie programu instalowanego ze zrodel bez ich obecnosci

Masz jeszcze źródełka ? - zrób tak:
./configure
make
make install
make uninstall
make clean


Debian jest lepszy niż wszystkie klony
Linux register users: #359018
http://www.freebsd.org/gifs/powerlogo.gif
Beskid Niski

Offline

 

#3  2005-12-22 12:10:03

  korbol - Członek DUG

korbol
Członek DUG
Zarejestrowany: 2005-04-29

Re: Usunięcie programu instalowanego ze zrodel bez ich obecnosci

No wlasnie nie mam ale moge sciagnać.
Z tym ze iptables instalowalo sie inaczej:

Kod:

FOLLOW THESE STEPS:

0) There may be some outstanding bugfixes or tweaks which are not yet
   in the official kernel.  Those are now (as of iptables-1.2.7) kept
   in a seperate package, called patch-o-matic.  It is available from
   ftp://ftp.netfilter.org/pub/patch-o-matic/

1) Next, make the package.
    % make KERNEL_DIR=<<where-you-built-your-kernel>>

2) Finally, you need to to install the shared libraries, and the binary:
    # make install KERNEL_DIR=<<where-you-built-your-kernel>>

If you are a developer, you can install the headers, development libraries
and associated development man pages, with:
    # make install-devel

That's it!
================================================================
PROBLEMS YOU MAY ENCOUNTER:

1) This package requires a 2.4.4 kernel, or above.

2) If you get the kernel directory wrong, you may see a message like:
    Please try `make KERNEL_DIR=path-to-correct-kernel'

3) If you want to specify alternate directories for installation
(instead of /usr/local/ bin lib man), do this:

    % make BINDIR=/usr/bin LIBDIR=/usr/lib MANDIR=/usr/man
    # make BINDIR=/usr/bin LIBDIR=/usr/lib MANDIR=/usr/man install

4) If you want to build a statically linked version of the iptables binary,
   without the need for loading the plugins at runtime (e.g. for an embedded
   device or router-on-a-disk), please use

    % make NO_SHARED_LIBS=1

NOTE: make sure you build with at least the correct LIBDIR=
specification, otherwise iptables(8) won't know where to find the
dynamic objects.

Pozdrawiam

Offline

 

Stopka forum

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson
To nie jest tylko forum, to nasza mała ojczyzna ;-)