Pages

configure, make, make install

Most of the linux/unix packages can be installed just by following three simple steps:

"configure, make and make install"

Try:

./configure
make
make install


If you are working in a cluster or workstation where you don't have sudo previleges, you just need to change the configure as follow. Remaining same.

Try:

./configure --prefix=/the/location/where/you/want/to/install/the/package
make
make install


Some codes use make -j . What is that?

Here is the explanation from "man" page of make.

-j [jobs], --jobs[=jobs]
"Specifies  the number of jobs (commands) to run simultaneously.  If there is more than one -j option, the last one is effective.  If the -j option is given without an argument, make will not limit the number of jobs that can run simultaneously."

Some other questions about make.

What is the difference between make and make all?

To List of things you need to work on HPC (for researchers)

For learning more, see
Make install but not to default directories
How to build: Configure and make


No comments:

Post a Comment

You may be interested in these posts

Error in image file conversion: convert-im6.q16: not authorized `test.eps' @ error/constitute.c/WriteImage/1037.

This error is because of the vulnerability. This allows remote execution of code using image formats. So, some Linux distributions by defaul...