5.2. Anaconda Architecture


Anaconda is a set of Python modules and scripts. It also uses several external packages and libraries.

The major components of this toolset include the following packages:

  • pykickstart - parses and validates the Kickstart files. Also, provides data structure that stores values that drive the installation.
  • dnf - the package manager that installs packages and resolves dependencies
  • blivet - handles all activities related to storage management
  • pyanaconda - contains the user interface and modules for Anaconda, such as keyboard and timezone selection, network configuration, and user creation. Also provides various utilities to perform system-oriented functions
  • python-meh - contains an exception handler that gathers and stores additional system information in case of a crash and passes this information to the libreport library, which itself is a part of the ABRT Project
  • dasbus - enables communication between the D-Bus library with modules of anaconda and with external components
  • python-simpleline - text UI framework library to manage user interaction in the Anaconda text mode
  • gtk - the Gnome toolkit library for creating and managing GUI

Apart from the division into packages previously mentioned, Anaconda is internally divided into the user interface and a set of modules that run as separate processes and communicate by using the D-Bus library. These modules are:

  • Boss - manages the internal module discovery, lifecycle, and coordination
  • Localization - manages locales
  • Network - handles network
  • Payloads - handles data for installation in different formats, such as rpm, ostree, tar and other installation formats. Payloads manage the sources of data for installation; sources can vary in format such as CD-ROM, HDD, NFS, URLs, and other sources
  • Security - manages security related aspects
  • Services - handles services
  • Storage - manages storage by using blivet
  • Subscription - handles the subscription-manager tool and Red Hat Lightspeed.
  • Timezone - deals with time, date, zones, and time synchronization.
  • Users - creates users and groups.

Each module declares which parts of Kickstart it handles, and has methods to apply the configuration from Kickstart to the installation environment and to the installed system.

The Python code portion of Anaconda (pyanaconda) starts as a "main" process that owns the user interface. Any Kickstart data you provide are parsed by using the pykickstart module and the Boss module is started, it discovers all other modules, and starts them. Main process then sends Kickstart data to the modules according to their declared capabilities. Modules process the data, apply the configuration to the installation environment, and the UI validates if all required choices have been made. If not, you must supply the data in an interactive installation mode. Once all required choices have been made, the installation can start - the modules write data to the installed system.

Red Hat logoGithubredditYoutubeTwitter

詳細情報

試用、購入および販売

コミュニティー

Red Hat ドキュメントについて

Red Hat をお使いのお客様が、信頼できるコンテンツが含まれている製品やサービスを活用することで、イノベーションを行い、目標を達成できるようにします。 最新の更新を見る.

多様性を受け入れるオープンソースの強化

Red Hat では、コード、ドキュメント、Web プロパティーにおける配慮に欠ける用語の置き換えに取り組んでいます。このような変更は、段階的に実施される予定です。詳細情報: Red Hat ブログ.

会社概要

Red Hat は、企業がコアとなるデータセンターからネットワークエッジに至るまで、各種プラットフォームや環境全体で作業を簡素化できるように、強化されたソリューションを提供しています。

Theme

© 2026 Red Hat
トップに戻る