本文へ移動
cccskills
無料GitHub で公開日本語紹介

dnf5

FedoraやRHELで使うパッケージ管理ツール`dnf5`のコマンド、設定、プラグイン、DNF4からの変更点を調べられるスキルです。

原文原文の説明を見る

Use when working with dnf5 — the next-generation RPM package manager for Fedora/RHEL. Covers CLI commands and options, configuration, plugin system (dnf5 active plugins and libdnf5 passive plugins), dnf5daemon D-Bus API, execution workflow, package specs (NEVRA), modularity, caching, migration from DNF4, libdnf5 library architecture, build system, and command-line aliases. Triggers on: "dnf5", "dnf", "libdnf5", "libdnf", "dnf5daemon", "dnf5-plugins", "libdnf5-plugins", "dnf5.conf", "repoquery", "versionlock", "distro-sync", "offline upgrade", "system-upgrade", "advisory", "comps", "modulemd", "NEVRA", "installroot", "forcearch", "repo variables", "metadata_expire", "setopt", "setvar", "config-manager", "repofrompath", "releasever", "basearch", "pluginpath".

carapace-sh/carapace-binスター 2,000(GitHub 2,000 + cccskills 0)

実行スコア 未検証

インストール方法を見る

こんなときに便利

  • dnf5のコマンドや設定を調べたいとき
  • パッケージやリポジトリの指定方法を知りたいとき
  • DNF4からの移行点を確認したいとき
  • プラグインやキャッシュの仕組みを調べたいとき

日本語での紹介

できること

FedoraやRHEL向けのRPMパッケージ管理ツールdnf5の使い方と仕組みを調べられます。コマンドやオプション、設定ファイル、リポジトリ変数、パッケージ指定形式(NEVRA)、キャッシュ、パッケージのグループやモジュールを扱います。プラグインの仕組み、D-Bus経由で操作するdnf5daemonのAPI、内部ライブラリlibdnf5、ビルド方法、コマンドの別名設定も参照できます。DNF4から移行するときの変更点や、インストール先を分ける--installroot、アーキテクチャを指定する--forcearchも確認できます。

こんなときに便利

dnf5のコマンドや設定項目を確認したいとき、パッケージやリポジトリの指定方法を調べたいときに役立ちます。DNF4から移行する場合の変更点を把握したい人や、プラグイン、キャッシュ、システム更新の流れを理解したい人にも向いています。利用目的に応じたリファレンスを選んで参照できます。

使い方の例

  • dnf5.confで使える設定項目を調べて
  • NEVRA形式のパッケージ指定について説明して
  • DNF4からDNF5に移行するときの変更点をまとめて

注意点

FedoraやRHEL向けのRPMパッケージ管理を扱う資料です。

この紹介文は、公開されている SKILL.md をもとに AI(OpenAI Codex)が作成しました。正確な仕様は下の原文を確認してください。

含まれるファイル(19)

  • SKILL.md9.1 KB
  • references/aliases.md4.6 KB
  • references/build.md6.1 KB
  • references/caching.md4.6 KB
  • references/cli.md8.1 KB
  • references/comps.md1.7 KB
  • references/configuration.md15.7 KB
  • references/daemon.md13.4 KB
  • references/filtering.md2.2 KB
  • references/forcearch.md1.5 KB
  • references/installroot.md2.5 KB
  • references/libdnf5.md7.0 KB
  • references/migration.md8.5 KB
  • references/modularity.md4.1 KB
  • references/plugins.md16.2 KB
  • references/repo-variables.md2.4 KB
  • references/specs.md4.2 KB
  • references/system-state.md2.0 KB
  • references/workflow.md7.5 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

DNF5 In-Depth Reference

DNF5 is the next-generation RPM package manager for Fedora/RHEL, rewritten in C++ (C++20) for better performance and fewer external dependencies. It consists of the dnf5 CLI, the libdnf5 core library, the libdnf5-cli CLI helper, a two-tier plugin system, and dnf5daemon (D-Bus daemon).

Data Flow

dnf5 <command> [options] [args]
  → logger setup, Base creation, command registration
    → plugin loading (dnf5 active + libdnf5 passive)
      → argument parsing, config loading
        → repo sack creation, repo loading, Vars substitution
          → goal resolution, transaction table
            → download, GPG check, RPM transaction
              → system state update

Sub-Resources

Load the reference that matches your task. When in doubt, load multiple references.

KeywordsReference
CLI, commands, options, flags, synopsis, exit codes, environment variables, assumeyes, assumeno, quiet, exclude, repo, setopt, setvar, repofrompath, releasever, installroot, forcearch, refresh, cacheonly, color, version, comment, dump-main-configreferences/cli.md
configuration, dnf.conf, config options, main section, repo options, color options, option types, boolean, integer, storage size, drop-in directories, repos.override.d, varsdir, reposdir, pluginconfpath, pluginpath, cachedir, system_cachedir, persistdir, protected_packages, installonlypkgs, tsflags, metadata_expire, zchunk, multilib_policy, obsoletes, best, skip_broken, skip_unavailable, allow_downgrade, allow_vendor_change, vendor change policy, group_package_types, optional_metadata_typesreferences/configuration.md
workflow, lifecycle, execution flow, hooks, pre_base_setup, post_base_setup, repos_configured, repos_loaded, pre_add_cmdline_packages, post_add_cmdline_packages, goal_resolved, pre_transaction, post_transaction, finish, init, create_commands, pre_configure, configure, load_additional_packages, run, goal_resolved stepreferences/workflow.md
plugins, dnf5 plugins, libdnf5 plugins, active plugins, passive plugins, IPlugin, IPlugin2_1, plugin API versioning, PluginAPIVersion, PluginVersion, LibraryVersion, DNF5_PLUGINS_DIR, LIBDNF_PLUGINS_CONFIG_DIR, actions plugin, appstream plugin, expired-pgp-keys, rhsm, local plugin, python_plugins_loader, CMakeLists.txt, dnf5_plugin_get_api_version, libdnf_plugin_get_api_versionreferences/plugins.md
daemon, dnf5daemon, D-Bus, dbus, SessionManager, open_session, close_session, polkit, PolicyKit, org.rpm.dnf.v0, Rpm interface, Repo interface, Goal interface, Base interface, Offline interface, Advisory interface, History interface, comps.Group interface, transaction signals, download signals, dnf5daemon-server, dnf5daemon-clientreferences/daemon.md
specs, NEVRA, NEVR, provides, file provides, binaries, globs, glob patterns, package-spec, group-spec, environment-spec, module-spec, NSVCA, transaction-spec, partial matching, epoch, version, release, arch, noarch, src, rich dependenciesreferences/specs.md
modularity, modulemd, module stream, active stream, inactive stream, default stream, enabled stream, module_hotfixes, modular filtering, demodularized, orphaned modular packages, fail-safe, modulefailsafe, module_platform_id, module_stream_switchreferences/modularity.md
caching, cache, metadata, cacheonly, keepcache, build_cache, solv, repodata, temporary_files.toml, metadata_expire, optional metadata, filelists, comps, updateinfo, presto, other, metadata types, cache sharing, copy-on-writereferences/caching.md
migration, dnf4, DNF4, changes from dnf, dropped options, renamed options, new options, command changes, API changes, configuration changes, strict deprecated, deltarpm deprecated, best default true, cacheonly enum, migrating to dnf5, Fedora migrationreferences/migration.md
libdnf5, library architecture, Base, Goal, Transaction, PackageQuery, PackageSet, Package, Repo, RepoSack, RepoQuery, ConfigMain, ConfigRepo, ConfigParser, Vars, advisory, comps, rpm, module, transaction history, system state, NEVRA, reldep, arch, changelog, checksum, rpm_signature, versionlock_config, solv, libsolvreferences/libdnf5.md
build, CMake, CMakeLists.txt, build options, WITH_DNF5, WITH_DNF5DAEMON_SERVER, WITH_MODULEMD, WITH_TESTS, WITH_PYTHON3, WITH_PERL5, WITH_RUBY, WITH_GO, WITH_PLUGIN_ACTIONS, WITH_PLUGIN_RHSM, sanitizers, clang-format, clang-tidy, dependencies, libsolv, librepo, sdbus-cpp, fmt, librpmreferences/build.md
aliases, TOML, command alias, cloned_named_arg, named_arg, group, aliases.d, value_help, attached_command, attached_named_args, required_values, complete, group_id, descrreferences/aliases.md
comps, groups, environments, mandatory, default, optional, conditional, group_package_types, with-optional, no-packages, group install, group remove, environment installreferences/comps.md
filtering, excludepkgs, includepkgs, disable_excludes, user excludes, versionlock filtering, modular filtering, module_hotfixesreferences/filtering.md
system-state, system_state_dir, TOML, package reasons, install reason, user, dependency, weak dependency, group, external, corrupted state, regenerationreferences/system-state.md
installroot, --installroot, use-host-config, path resolution, chroot, releasever detection, module_platform_idreferences/installroot.md
forcearch, --forcearch, architecture override, arch, basearch, qemu-user-staticreferences/forcearch.md
repo variables, $arch, $basearch, $releasever, $releasever_major, $releasever_minor, DNF_VAR_, varsdir, variable files, DNF0-DNF9, vars substitutionreferences/repo-variables.md

Quick Guide

Cross-Project References

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。URL は 2 つまでです。

0 / 1000 文字

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

同じリポジトリのスキル

brew

無料概要あり

macOSやLinuxのHomebrewについて、brewコマンドでの導入・更新から、FormulaやCask、Brewfile、サービス管理、開発者向け操作まで調べられるスキルです。

  • Homebrewでソフトを導入・更新したいとき
  • Brewfileで環境を管理したいとき
  • FormulaやCaskを作成・更新したいとき
carapace-sh/carapace-bin2,0002026年10月26日 更新

bubbletea

無料概要あり

Go製TUIフレームワークBubble Teaの画面構成、入力・非同期処理、テスト、部品の組み合わせ方を調べ、端末アプリの実装や設計に活用できます。

  • Bubble Teaで端末画面を作りたいとき
  • キーやマウス入力を処理したいとき
  • 非同期処理を画面に組み込みたいとき
carapace-sh/carapace-bin2,0002026年10月26日 更新

bun

無料概要あり

BunのCLI、パッケージ管理、テスト、バンドル、実行時APIやシェルの使い方を調べ、JavaScript・TypeScriptの開発作業に活用できます。

  • Bunで依存パッケージを管理したいとき
  • テストやコードのバンドルを実行したいとき
  • Bunでサーバーやファイル処理を実装したいとき
carapace-sh/carapace-bin2,0002026年10月26日 更新

but

無料概要あり

GitButler CLIで仮想ブランチや積み重ねたブランチを管理し、変更の割り当て、コミット編集、競合解決、PR作成までのGit作業を進められます。

  • 作業を仮想ブランチに分けたいとき
  • コミットを修正・統合したいとき
  • 操作履歴を見て変更を取り消したいとき
carapace-sh/carapace-bin2,0002026年10月26日 更新

carapace

無料概要あり

carapaceをCLIに組み込み、シェル補完のYAML仕様や独自アクションを作成し、シェル設定やMCP連携、補完値の説明まで扱うスキルです。

  • CLIにシェル補完を追加したいとき
  • YAMLの補完仕様を作成したいとき
  • 独自の補完アクションを実装したいとき
carapace-sh/carapace-bin2,0002026年10月26日 更新

cargo

無料概要あり

Rustプロジェクトのビルドやテストから、依存関係、ワークスペース、公開設定まで、`cargo`の使い方と設定を調べられるスキルです。

  • Rustプロジェクトの依存関係を設定したいとき
  • featureやworkspaceの仕組みを確認したいとき
  • ビルドやテストのコマンドを調べたいとき
carapace-sh/carapace-bin2,0002026年10月26日 更新

carapace-sh のスキルをすべて見る

このスキルの問題を報告する