1.2. Python ソフトウェア開発キットのインストール
Python ソフトウェア開発キットをインストールするには、以下を行います。
ハードウェアプラットフォームに適した リポジトリーを有効にします。たとえば、x86-64 ハードウェアの場合、次を有効にします。
# subscription-manager repos \ --enable=rhel-8-for-x86_64-baseos-rpms \ --enable=rhel-8-for-x86_64-appstream-rpms \ --enable=rhv-4.4-manager-for-rhel-8-x86_64-rpms # subscription-manager repos \ --enable=rhel-8-for-x86_64-baseos-eus-rpms \ --enable=rhel-8-for-x86_64-appstream-eus-rpms # subscription-manager release --set=8.6
必要なパッケージをインストールします。
# dnf install python3-ovirt-engine-sdk4
Python ソフトウェア開発キットは Python 3 サイトパッケージディレクトリーにインストールされ、付属のドキュメントと例は /usr/share/doc/python3-ovirt-engine-sdk4
にインストールされます。