Wednesday, May 15, 2024
 Popular · Latest · Hot · Upcoming
4
rated 0 times [  4] [ 0]  / answers: 1 / hits: 1100  / 2 Years ago, thu, august 4, 2022, 8:49:22

I know this is probably an ignorant question but I ve been always wondering:
after downloading and running make on a linux software (e.g. https://github.com/scapella/trimal) - do I need to copy to usr/local/bin the executables only or the executables and all the other files in that directory that were created after running make ?


How can I know that copying only the executable is enough? even if it is running, how can i know that it is running properly and it does not need to find the path of where I originally ran make
I am asking cause many times this is not clear...


Thanks


More From » 18.04

 Answers
0

You only need to copy the executable files, to a location that is on your PATH such as /usr/local/bin/ or ~/bin/.


In general, software may install some or all of the following:



  • executables to a suitable bin/ directory

  • shared library files to a suitable lib/ directory

  • documentation to a man/ and or info/ directory

  • configuration files to etc/

  • other files to a share/ directory


In that case, the developers usually provide an install target (run as make install) to distribute files into the appropriate directories.


In the case of the trimal software, there does not appear to be anything to install apart from the three executable files trimal, readal, and statal and no install target is provided.


[#1693] Friday, August 5, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
smelrop

Total Points: 263
Total Questions: 122
Total Answers: 108

Location: Saudi Arabia
Member since Thu, Jan 28, 2021
3 Years ago
smelrop questions
Mon, Mar 13, 23, 07:22, 1 Year ago
Sun, Feb 5, 23, 13:02, 1 Year ago
Tue, Aug 31, 21, 00:50, 3 Years ago
Sat, Dec 18, 21, 15:18, 2 Years ago
;