確認を求めずに、設定済みのリポジトリから tree パッケージをインストールするコマンドはどれですか?
tree
rpm -q tree
sudo dnf install -y tree
tree --install
sudo dnf update -y tree