下面是安装,yum 安装指定版本的 软件包
# 先搜索一下可安装的软件包
yum --showduplicates list [包名] | expand
yum --showduplicates list MariaDB-server | expand #例
# 安装需要的指定版本包
yum -y install [服务名]-[版本号] #注意服务名和版本号之间的 “ - ” 不是下划线
yum -y install MariaDB-server-10.5.3 # 例
# 先搜索一下可安装的软件包
yum --showduplicates list [包名] | expand
yum --showduplicates list MariaDB-server | expand #例
# 安装需要的指定版本包
yum -y install [服务名]-[版本号] #注意服务名和版本号之间的 “ - ” 不是下划线
yum -y install MariaDB-server-10.5.3 # 例