Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
hi,
I need help regarding to install and configure software in Linux.CentOS or Debian .
Suppose I want to install foo software.
I download the compress file and then extract it.
Now I use the command
./configure [--option --option...]
make
make install
The question is when i use ./configure what does it actually do ? It only check the dependencies of the software ? This step is not clear to me.
I just issue the command ./configure i scroll my screen and take 2 to 3 minutes then i can not see any new folder or show me what it need or what new step should it do ?
I did google but i can not find the actual answer that it does ./configure do ? what ./configure --prefix means ? etc etc
in general configure make two different things: first configures a new build system on the current host and os to be able to build the actual software - and that means it will generate the makefiles required to do that. And the other thing you can also configure what and how should be built (so what will be included in the result)
Thanks "evo2 and pan64 for your prompt reply. Well one thing is clear to understand that .configure will generate Makefile, it is done.Well the step which i take, suppose i extract a software name "foo" in "download" folder.
I create a folder named "mysoftware" .I execute the above command It do all working but when i open the folder "mysoftware" it is empty (nothing inside it)!
Ok if i understand that --prefix will specify where to install the software why it does not show me any single file when i enter the command for
./configure --prefix=/usr/local/mysoftware
What does this command will do ? no effect in mysoftware folder.
well thanks i use the command. Well a little question is i want to if you visit the page http://wiki.squid-cache.org/SquidFaq/CompilingSquid under "configure options" i can see some options enable.If i does not use this option and simply use ./configure it will skip these options or it is automatically understood to configure these options as well ?
usually there is a readme or similar next to configure (and also configure --help may exist) You need to read those information carefully before configuring. There can be default values, so some settings are assumed (for example there is a default for install dir), but you ought to check it....
although it is an intelligent exercise to know how to compile, install and handle dependencies manually but you should probably let the system install everything automatically via the package manager.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.