Copy files and set attributes. Copy files (often executable) to a system location like
/usr/local/bin
, give them the appropriate permissions/ownership. More information: https://www.gnu.org/software/coreutils/install.
install path/to/source_file1 path/to/source_file2 ... path/to/destination
install --owner user path/to/source_file1 path/to/source_file2 ... path/to/destination
install --group user path/to/source_file1 path/to/source_file2 ... path/to/destination
mode
:install --mode +x path/to/source_file1 path/to/source_file2 ... path/to/destination
install --preserve-timestamps path/to/source_file1 path/to/source_file2 ... path/to/destination
install -D path/to/source_file1 path/to/source_file2 ... path/to/destination