Skip to content

rspm add binary#

Command to add binaries to sources.

rspm add binary [flags]

Examples#

  rspm add binary --source=[local or git source name] --distribution=centos7 --path=[package path] --replace
  rspm add binary --source=[local or git source name] --distribution=jammy --path=[package path 1,package path 2,...]
  rspm add binary --source=[local or git source name] --distribution=jammy --file-in=[packages.csv]

Options#

      --distribution string   The distribution to use for which the binary was compiled.
      --file-in string        The path to a file containing the packages to import. The file format is one package name per line, no column headers. For curated-cran and local sources.
  -h, --help                  help for binary
      --path string           A comma-separated list of paths to package files. For local sources.
      --replace               If a package version or checksum conflict is found, replace the existing package. For local sources.
      --source string         The name of the source.
      --succeed-on-existing   Do not return an error if binary already exists.

Options inherited from parent commands#

  -a, --address string             The address of the remote server. If not specified, the PACKAGEMANAGER_ADDRESS environment variable is used.
  -c, --config string              Path to config file
      --insecure-ssl-skip-verify   If true, skip SSL certificate validation. This reduces the security that SSL normally provides.
  -o, --output-format string       Specify the output format 'human' for human-readable output or 'json' for JSON-encoded output. (default "human")
  -v, --verbose                    Provide additional output