Node:Installation Names, Next:Optional Features, Previous:Multiple Architectures, Up:Running configure scripts
By default, make install
will install the package's files in
/usr/local/bin
, /usr/local/man
, etc. You can specify an
installation prefix other than /usr/local
by giving
configure
the option --prefix=path
.
You can specify separate installation prefixes for architecture-specific
files and architecture-independent files. If you give
configure
the option --exec-prefix=path
, the
package will use path as the prefix for installing programs and
libraries. Documentation and other data files will still use the
regular prefix.
In addition, if you use an unusual directory layout you can give options
like --bindir=path
to specify different values for
particular kinds of files. Run configure --help
for a list of
the directories you can set and what kinds of files go in them.
If the package supports it, you can cause programs to be installed with
an extra prefix or suffix on their names by giving configure
the option --program-prefix=PREFIX
or
--program-suffix=SUFFIX
.