Click to See Complete Forum and Search --> : When u say to compile something


yhotg
09-29-2003, 01:23 PM
what that means?

compile is install?
is to set up? to configurate? how i compile iptables?
i need to compile them?

je_fro
09-29-2003, 01:30 PM
Source code is the stuff people write with their keyboards in languages like C++ or Java. A computer can't operate on those instructions, they have to be turned into binary (1101011) which is the only thing your computer understands. That's compiling.

yhotg
09-29-2003, 01:52 PM
what happened when in the how-to's or here people says u need to compile the iptables, or something like that? how i compile it?
for java i need the java machine or something like that....
so?

je_fro
09-29-2003, 06:13 PM
You really ought to read some documentation....
The skinny:
Download iptables-1.2.8.tar.bz2
then: tar -xjvf iptables-1.2.8.tar.bz2
then: cd iptables-1.2.8/
then: ./configure
then: make <-----this compiles the program.
then: su <passwd>
then: make install

Any questions you may have at this point can surely be answered by a search of: http://www.google.com/linux

Good Luck!

yhotg
09-29-2003, 06:33 PM
from where download the iptables-1.2.8.tar.bz2
?

Hayl
09-29-2003, 06:44 PM
Originally posted by yhotg
from where download the iptables-1.2.8.tar.bz2
?

www.google.com/linux

DerekKraan
09-29-2003, 10:48 PM
Which brings up an important point. Why in the world is it so hard to find some source code? Some essential libraries are located in the nether regions of the net!

[/rant] ;)

bosox79
09-30-2003, 12:15 AM
yhotg, have you also looked through the HFL Compiling Software (http://www.justlinux.com/nhf/Software/Compiling_Software.html) it may have some helpful basic information :)

yhotg
09-30-2003, 03:30 PM
how i do to look if a software is installed in the linux or no?
like the tcl/tk

bosox79
09-30-2003, 09:04 PM
Originally posted by yhotg
how i do to look if a software is installed in the linux or no?
like the tcl/tk

Diffrent distro's have gui and or text based tools you can use to see what software you have installed and it also sepends on what package format you are using e.g RPM or deb or source. there are diffrent CLI commands to use for diffrent package formats:)

JohnT
09-30-2003, 09:27 PM
Originally posted by yhotg
what that means?

compile is install?
is to set up? to configurate? how i compile iptables?
i need to compile them?


You probably already have iptables installed. In a terminal type:

locate iptables