博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
yum安装低版本软件包_在Yum中安装软件包的特定旧版本
阅读量:2525 次
发布时间:2019-05-11

本文共 1319 字,大约阅读时间需要 4 分钟。

yum安装低版本软件包

We may need to install some old packages such as the kernel in our box. Let’s use installing a older version of kernel in as the example to introduce how to install old packages from the repository using yum.

我们可能需要在框中安装一些旧软件包,例如内核。 让我们以在安装旧版本的内核为例,介绍如何使用yum从存储库安装旧软件包。

By now, suppose we have install kernel-2.6.32.16-143 in the Linux box and we want to install some older kernel in the repository.

到目前为止,假设我们已经在Linux框中安装了kernel-2.6.32.16-143,并且我们想在存储库中安装一些较旧的内核。

First find out all the kernels in the repository by:

首先通过以下方法找出存储库中的所有内核:

# yum list --showduplicates kernel

All the kernel packages will be listed like this:

将列出所有内核软件包,如下所示:

Installed Packageskernel.i686                        2.6.32.16-141.fc12               @updatesAvailable Packageskernel.i686                        2.6.31.5-127.fc12                fedorakernel.i686                        2.6.32.16-150.fc12               updates

We find out that 2.6.31.5-127.fc12 kernel package is available. We can install it now:

我们发现2.6.31.5-127.fc12内核软件包可用。 我们现在可以安装它:

# yum install kernel-2.6.31.5-127.fc12

Then yum will install the kernel of older version. For other packages, the method is similar with kernel. We just need to replace kernel with the package name above.

然后,yum将安装旧版本的内核。 对于其他软件包,该方法与内核相似。 我们只需要用上面的软件包名称替换内核。

翻译自:

yum安装低版本软件包

转载地址:http://tmlwd.baihongyu.com/

你可能感兴趣的文章
elasticsearch 常用查询 + 删除索引
查看>>
sops的配置过程
查看>>
prometheus+grafana监控Linux和kubernetes的例子
查看>>
kubernetes 简单 hello world nginx svc deployment
查看>>
kubenetes 的svc从ClusterPort 改为NodePort
查看>>
kube-metric在kubernetes上的部署
查看>>
kubespray 修改配置
查看>>
部署kubernetes-prometheus和用kubespray部署kubernetes后修改kubelet的
查看>>
Hbase和Hadoop的内存参数调优 + 前端控制台
查看>>
SQuirreL连接Phoenix报java.util.concurrent.TimeoutException
查看>>
开启phoenix命名空间的自动映射
查看>>
Hbase标准配置文件
查看>>
elasticsearch 7.1 401 Unauthorized
查看>>
hbase数据导出和恢复 设置双master
查看>>
prometheus 的promsql的经典例子
查看>>
python 调试技巧
查看>>
centos7清楚journal日志
查看>>
federate - Prometheus outside k8s cluster + 总体架构图
查看>>
以py脚本形式ORM操作 及 django终端打印sql语句的设置
查看>>
NVIC_PriorityGroupConfig()的说明
查看>>