How to Install packages From Source ?
hello linuxquestions forum..
i'm using CentOS .. i would like to learn in detail about the installation and configurations of vsftpd and httpd packages using the "installation from source code method " .. i know how to install it using yum repository.. bt no idea about compile,make and configure commands.. plz help ... Abhilash B S |
Usually the same for any software, any distro. In the source directory, run:
Code:
./configure --help then: Code:
./configure (with whatever options you want) Code:
make Code:
make install |
Thank you for your response ...
but my system showing ./configure command not found.. i was following the instructions from this tutorial http://howtolamp.com/lamp/mysql/5.6/...#dependencies1 but in step 4 , cmake command again throws error that "cmake command not found" .. |
You will have to install cmake to.
if you also want to do that from source: Code:
cd ~ for things like make and cmake installs i would personally still opt for: Code:
yum install cmake |
Occasionally, software sources come without a "configure" file and with a makefile already in place. With those, you generally start with "make."
Most sources include a README and an INSTALL file. Reading those will generally provide much useful information. |
Thank you for your response... Problem Solved ... its interesting to compile from source but time consuming ... :)
|
You can read INSTALL or README to learn how to install it.
these two files are in the directory of software |
Quote:
Enjoy your CentOS! |
All times are GMT -5. The time now is 06:36 PM. |