View Full Version : Configure command


barghota
Salamo 3alekom,

When i download a source .tar.gz and when i install the source in the readme file it says cd to the directory then ./configure

when i type configure and then press enter it tells me command not found.

and i think the problem is with me coz i find this problem in every program i download.

i would be glad if any1 tell me the right thing i could do.

OneOfOne
say you have foo-2.5.tar.gz here're the steps to compile it :
bash# tar -xzpvf foo-2.5.tar.gz
bash# cd foo-2.5
bash# ./configure (notice the ./)
bash# make OR make all OR whatever they said in the README
bash# make install (to install the program)
bash# make uninstall (to remove it if it's already installed)
bash# make clean (to delete the junk the compiler generated while compiling)
(it's recommended to do "make clean" after "make install" to save up space)
you should always read the README, also try ./configure --help to know about the options you can use..

peace

barghota
aaaah

then i type ./configure then

i thought that ./ is the path of the source.

okay thnx alot OneOfOne

OneOfOne
anytime :)

uniball
you don't have to be root to uncompress, configure and compile the code
only root when you make install
i uncompress, compile all apps. as normal user, when it's time to install you can:
1 - su -c "make install"
or if you have configured sudo
sudo make install