Method 1: Read the requirements, compare with the list of installed packages.
Method 2: Run the configure script. It will fail on missing dependencies.
By the way, when you are thinking of installing from source, consider creating a package for your distribution's package manager on a test system and install the package on the production system. Package management systems are a blessing for administrators. Give them a chance.
We don't install from source if it's at all avoidable. Otherweise, by reading the documentation and, when in doubt, trial and error which means usually to read (and understand!) the error messages during configure and make.
Almost any major application has been packaged for some major linux distribution. This can be very helpful to you because almost everyone provides the scripts and information needed to build a given package.
So in addition to reading the manual, one thing I will do is simply go look at what the listed dependancies are in the package repositories.
For example if you needed to build PHP you might go take a quick look at all the build-depends for the php5 package http://packages.debian.org/source/sid/php5. The package information pages include links off to the web sites generally if for some reason you wanted to rebuild everything from scratch.
Method 1: Read the requirements, compare with the list of installed packages.
Method 2: Run the configure script. It will fail on missing dependencies.
By the way, when you are thinking of installing from source, consider creating a package for your distribution's package manager on a test system and install the package on the production system. Package management systems are a blessing for administrators. Give them a chance.
We don't install from source if it's at all avoidable. Otherweise, by reading the documentation and, when in doubt, trial and error which means usually to read (and understand!) the error messages during
configure
andmake
.Almost any major application has been packaged for some major linux distribution. This can be very helpful to you because almost everyone provides the scripts and information needed to build a given package.
So in addition to reading the manual, one thing I will do is simply go look at what the listed dependancies are in the package repositories.
For example if you needed to build PHP you might go take a quick look at all the build-depends for the php5 package http://packages.debian.org/source/sid/php5. The package information pages include links off to the web sites generally if for some reason you wanted to rebuild everything from scratch.