Advertisement
mroche

dnf --help

Sep 29th, 2020
586
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.48 KB | None | 0 0
  1. usage: dnf [options] COMMAND
  2.  
  3. List of Main Commands:
  4.  
  5. alias List or create command aliases
  6. autoremove remove all unneeded packages that were originally installed as dependencies
  7. check check for problems in the packagedb
  8. check-update check for available package upgrades
  9. clean remove cached data
  10. deplist List package's dependencies and what packages provide them
  11. distro-sync synchronize installed packages to the latest available versions
  12. downgrade Downgrade a package
  13. group display, or use, the groups information
  14. help display a helpful usage message
  15. history display, or use, the transaction history
  16. info display details about a package or group of packages
  17. install install a package or packages on your system
  18. list list a package or groups of packages
  19. makecache generate the metadata cache
  20. mark mark or unmark installed packages as installed by user.
  21. module Interact with Modules.
  22. provides find what package provides the given value
  23. reinstall reinstall a package
  24. remove remove a package or packages from your system
  25. repolist display the configured software repositories
  26. repoquery search for packages matching keyword
  27. repository-packages run commands on top of all packages in given repository
  28. search search package details for the given string
  29. shell run an interactive DNF shell
  30. swap run an interactive DNF mod for remove and install one spec
  31. updateinfo display advisories about packages
  32. upgrade upgrade a package or packages on your system
  33. upgrade-minimal upgrade, but only 'newest' package match which fixes a problem that affects your system
  34.  
  35. List of Plugin Commands:
  36.  
  37. builddep Install build dependencies for package or spec file
  38. changelog Show changelog data of packages
  39. config-manager manage dnf configuration options and repositories
  40. copr Interact with Copr repositories.
  41. debug-dump dump information about installed rpm packages to file
  42. debug-restore restore packages recorded in debug-dump file
  43. debuginfo-install install debuginfo packages
  44. download Download package to current directory
  45. needs-restarting determine updated binaries that need restarting
  46. playground Interact with Playground repository.
  47. repoclosure Display a list of unresolved dependencies for repositories
  48. repodiff List differences between two sets of repositories
  49. repograph Output a full package dependency graph in dot format
  50. repomanage Manage a directory of rpm packages
  51. reposync download all packages from remote repo
  52.  
  53. display a helpful usage message
  54.  
  55. General DNF options:
  56. -c [config file], --config [config file]
  57. config file location
  58. -q, --quiet quiet operation
  59. -v, --verbose verbose operation
  60. --version show DNF version and exit
  61. --installroot [path] set install root
  62. --nodocs do not install documentations
  63. --noplugins disable all plugins
  64. --enableplugin [plugin]
  65. enable plugins by name
  66. --disableplugin [plugin]
  67. disable plugins by name
  68. --releasever RELEASEVER
  69. override the value of $releasever in config and repo files
  70. --setopt SETOPTS set arbitrary config and repo options
  71. --skip-broken resolve depsolve problems by skipping packages
  72. -h, --help, --help-cmd
  73. show command help
  74. --allowerasing allow erasing of installed packages to resolve dependencies
  75. -b, --best try the best available package versions in transactions.
  76. --nobest do not limit the transaction to the best candidate
  77. -C, --cacheonly run entirely from system cache, don't update cache
  78. -R [minutes], --randomwait [minutes]
  79. maximum command wait time
  80. -d [debug level], --debuglevel [debug level]
  81. debugging output level
  82. --debugsolver dumps detailed solving results into files
  83. --showduplicates show duplicates, in repos, in list/search commands
  84. -e ERRORLEVEL, --errorlevel ERRORLEVEL
  85. error output level
  86. --obsoletes enables dnf's obsoletes processing logic for upgrade or display capabilities that the package obsoletes for info,
  87. list and repoquery
  88. --rpmverbosity [debug level name]
  89. debugging output level for rpm
  90. -y, --assumeyes automatically answer yes for all questions
  91. --assumeno automatically answer no for all questions
  92. --enablerepo [repo] Enable additional repositories. List option. Supports globs, can be specified multiple times.
  93. --disablerepo [repo] Disable repositories. List option. Supports globs, can be specified multiple times.
  94. --repo [repo], --repoid [repo]
  95. enable just specific repositories by an id or a glob, can be specified multiple times
  96. --enable enable repos with config-manager command (automatically saves)
  97. --disable disable repos with config-manager command (automatically saves)
  98. -x [package], --exclude [package], --excludepkgs [package]
  99. exclude packages by name or glob
  100. --disableexcludes [repo], --disableexcludepkgs [repo]
  101. disable excludepkgs
  102. --repofrompath [repo,path]
  103. label and path to an additional repository to use (same path as in a baseurl), can be specified multiple times.
  104. --noautoremove disable removal of dependencies that are no longer used
  105. --nogpgcheck disable gpg signature checking (if RPM policy allows)
  106. --color COLOR control whether color is used
  107. --refresh set metadata as expired before running the command
  108. -4 resolve to IPv4 addresses only
  109. -6 resolve to IPv6 addresses only
  110. --destdir DESTDIR, --downloaddir DESTDIR
  111. set directory to copy packages to
  112. --downloadonly only download packages
  113. --comment COMMENT add a comment to transaction
  114. --bugfix Include bugfix relevant packages, in updates
  115. --enhancement Include enhancement relevant packages, in updates
  116. --newpackage Include newpackage relevant packages, in updates
  117. --security Include security relevant packages, in updates
  118. --advisory ADVISORY, --advisories ADVISORY
  119. Include packages needed to fix the given advisory, in updates
  120. --bz BUGZILLA, --bzs BUGZILLA
  121. Include packages needed to fix the given BZ, in updates
  122. --cve CVES, --cves CVES
  123. Include packages needed to fix the given CVE, in updates
  124. --sec-severity {Critical,Important,Moderate,Low}, --secseverity {Critical,Important,Moderate,Low}
  125. Include security relevant packages matching the severity, in updates
  126. --forcearch ARCH Force the use of an architecture
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement