For installing software in Linux, use the./configure,make,make Install Explanation:
For example:
shell>tar zxvf libevent-1.4.14b-stable.tar.gz
shell>cd libevent-1.4.14b-stable
shell>./configure
shell>make && make install
(1) The ./configure is the target feature of the test installation platform. For example, it detects if you have CC or GCC, it is a shell script that generates Makefile, prepares for the next compilation, and you can control the installation by adding parameters after configure, such as code:./configure– Prefix=/usr/local means to install the software under/usr/local.
(2) make is used to compile, it reads instructions from makefile, then compiles, and Most of the source code packages are compiled in this step.
(3) make install is used for installation, it also reads instructions from makefile, installs to the specified location, This command to install (of course some software needs to run make check or do test to do some testing), this step generally requires you to have root permissions (because you want to write to the system file).
When installing an application under Linux, it is common to run script configure and then use make to compile the source program, run make install, and finally run make clean to delete some temporary files. Using the three tools above, you can generate a configure script. Run the Configure script, you can generate the makefile file, and you will be able to run make, makes install, and do clean.
This article is from the Apple blog, so be sure to keep this source http://59465168.blog.51cto.com/5268021/1836610
The role of the/configure,make,make install in Linux.