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

dnf4-modulesync - DNF modulesync Plugin

Arguments

<module-spec>
              Module specification for the package to download. The argument is an optional.

Author

       See AUTHORS in your Core DNF Plugins distribution

Description

modulesync  downloads packages from modules according to provided arguments and creates a repository with
       modular data in working directory. In environment with modules it is recommend to  use  the  command  for
       redistribution  of  packages, because DNF does not allow installation of modular packages without modular
       metadata on the system (Fail-safe mechanism). The command without an argument creates a  repository  like
       createrepo_c but with modular metadata collected from all available repositories.

       See examples.

Examples

dnfmodulesyncnodejs
              Download  packages  from  nodejs  module  and  crete a repository with modular metadata in working
              directory

       dnfdownloadnodejsdnfmodulesync
              The first download command downloads nodejs package into working directory.  In  environment  with
              modules  nodejs  package  can  be a modular package therefore when I create a repository I have to
              insert also modular metadata from available repositories to ensure 100% functionality. Instead  of
              createrepo_c  use  dnfmodulesync to create a repository in working directory with nodejs package
              and modular metadata.

       dnf--destdir=/tmp/my-tempmodulesyncnodejs:14/minimal--resolve
              Download package required for installation of minimal profile from module  nodejs  and  stream  14
              into  directory  /tmp/my-temp  and  all required dependencies. Then it will create a repository in
              /tmp/my-temp directory with previously downloaded packages and modular metadata from all available
              repositories.

       dnfmoduleinstallnodejs:14/minimal--downloadonly--destdir=/tmp/my-tempdnfmodulesync--destdir=/tmp/my-temp
              The first dnfmoduleinstall command downloads package from required for installation  of  minimal
              profile  from  module  nodejs  and  stream  14 into directory /tmp/my-temp. The second command dnfmodulesync will create a repository in /tmp/my-temp directory with previously downloaded  packages
              and  modular  metadata from all available repositories. In comparison to dnf–destdir=/tmp/my-tempmodulesyncnodejs:14/minimal–resolve it will only download packages required for installation  on
              current system.

Name

       dnf4-modulesync - DNF modulesync Plugin

       Download packages from modules and/or create a repository with modular data.

Options

       All general DNF options are accepted. Namely, the --destdir option can be used to specify directory where
       packages will be downloaded and the new repository created. See Options in dnf(8) for details.

       -n,--newest-only
              Download only packages from the newest modules.

       --enable_source_repos
              Enable repositories with source packages

       --enable_debug_repos
              Enable repositories with debug-info and debug-source packages

       --resolve
              Resolve and download needed dependencies

See Also

dnf(8), DNF Command Reference

Synopsis

dnfmodulesync[options][<module-spec>...]

See Also