Install the role of a command is to install or upgrade software or to back up data, and its use rights are for all users.
1 . Command format:
(1) Install [ options ] ... Source Destination
(2) Install [ options ] ... Source ... Catalogue
(3) Install -d [ options ] ... Catalogue ...
2 . Command function:
Install the role of a command is to install or upgrade software or to back up data, and its use rights are for all users.
in the first two formats, the<Source>Copy to<Destination>or a multi-a<Source>file is copied to the existing<Catalogue>, while setting the permission mode and owner/The owning group. In the third format, all of the specified directories and their main items are createdThe record. The parameters that must be used for the long option are also required when using the short option.
3 . Command parameters:
--Backup[=control]: Make a backup of each existing destination file.
-b: Similar--Backup, but does not accept any parameters.
-C:(This option is not processed).
-D,--Directory: All parameters are processed as directories, and all home directories for the specified directory are created.
-D: Create<Destination>before all the home directories, and then<Source>Copy to<Destination>, which is useful in the first use format.
-g,--group=Group: Set the owning group by itself, not the group to which the process is currently owned.
-m,--mode=mode: Self-setting permission mode (likechmod), but notrwxr-XR-x.
-o,--owner=owner: Self-setting owner (for super users only).
-P,--Preserve-Timestamps: To<Source>access to Files/the time attribute of the modified time as the corresponding destination file.
-s,--Strip: WithStripcommand Deletesymbol Table, only applies to the first and second use formats.
-S,--suffix=suffix: Specify the backup file by itself<suffix>.
-v,--verbose: Process each file/the name is printed in the catalog.
-- Help: Displays this help message and leaves.
--version: Displays version information and leaves.
Install? -Copy files and set attributes
Install while making the copy, set the attributes.
so try to use install in Makefile command.
4 . Usage Examples:
Linux command detailed-install