viernes, 11 de noviembre de 2022

Linux command tells the system where to install the compiled binaries $ ./configure --prefix=/home/user/bin

 Linux command tells the system where to install the compiled binaries $ ./configure --prefix=/home/user/bin

https://www.prl.res.in/prl-eng/hpc/software/installing_software_by_yourself


    $ configure --help To start configuring the build environment, execute the following command : $ ./configure --prefix=/home/user/bin

    The prefix argument in the above command tells the system where to install the compiled binaries. If you did not set prefix argument, the system will try to install your software in root directories and you will get "Permission Denied" error.

    The above command will check and/or create the build environment and if everything goes fine then it produces a file called ‘makefile’. The file ‘makefile’ is used in the compilation of the software.

No hay comentarios:

Publicar un comentario