yum wgetが失敗するのはなぜですか?パラメーターの不一致: wget

yum wgetが失敗するのはなぜですか?パラメーターの不一致: wget

私はRHEL9を持っていて試してみました。

sudo yum install wget

得る

Updating Subscription Management repositories.
Unable to read consumer identity

This system is not registered with an entitlement server. You can use subscription-manager to register.

Last metadata expiration check: 0:12:43 ago on Mon 20 Feb 2023 10:04:53 AM UTC.
No match for argument: wget

確認しました

yum info wget

得る

Last metadata expiration check: 0:06:37 ago on Mon 20 Feb 2023 10:14:28 AM UTC.
Error: No matching Packages to list

私は持っていますepel-release

設定に問題がありますか?

ベストアンサー1

依存関係をダウンロードするには、購読を更新する必要があります。次に、dnfコマンドを使用してrhel9にパッケージをインストールする必要があります。

dnf インストールパッケージ名

参照:[https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html/managing_software_with_the_dnf_tool/ Assembly_installing-rhel-9-content_managing-software-with-the-dnf-tool][1]

おすすめ記事