logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

install - install binaries

Author

       Aleksey Cheusov <vle@gmx.net>

                                                  Jan 26, 2020                                    MKC_INSTALL(1)

Description

       The file(s) are copied to the target file or directory.  If the destination is a directory, then the file
       is copied into directory with its original filename.

Environment

       STRIP  The program used to strip installed binaries when the -s option is used.  If unspecified, strip is
              used.

Exit Status

            The install utility exits 0 on success, and >0 if an error occurs.

Name

       install - install binaries

Options

-c     Copy  the  file.  This is the default behavior; the flag is maintained for backwards compatibility
              only.

       -d     Create directories.  Missing parent directories are created as required.

       -ggroup
              Specify a group.

       -llinkflags
              Instead of copying the file make a link to the source.  The type of the link is determined by  the
              linkflags argument.  Valid linkflags are: h (hard), s (symbolic).

       -mmode
              Specify an alternative mode.  The default mode is set to rwxr-xr-x (0755).  The specified mode may
              be either an octal or symbolic value; see chmod(1) for a description of possible mode values.

       -oowner
              Specify an owner.

       -s     install exec's the command strip(1) to strip binaries so that install can be portable over a large
              number  of  systems and binary types.  If the environment variable STRIP is set, it is used as the
              strip(1) program.

Synopsis

install-d[-oown][-ggrp][-mmod]dir1dir2...dirNinstall[-cs][-lflags][-oown][-ggrp][-mmod]file1file2install[-cs][-lflags][-oown][-ggrp][-mmod][files...]dir

See Also