ITPub博客

首页 > Linux操作系统 > Linux操作系统 > 解决redhat自带yum不能用的问题

解决redhat自带yum不能用的问题

原创 Linux操作系统 作者:adrain_001 时间:2012-07-15 16:56:18 0 删除 编辑

[root@localhost ~]# yum install libtool

Loaded plugins: rhnplugin, security

This system is not registered with RHN.

RHN support will be disabled.

Setting up Install Process

Nothing to do

解决方案:

1、进入/etc/yum.repos.d/目录。

在命令行输入:wget http://docs.linuxtone.org/soft/lemp/CentOS-Base.repo

2、ls 一下,会看到一个文件名为CentOS-Base.repo的文件。

3、将原来的文件rhel-debuginfo.repo改名为rhel-debuginfo.repo.bak

4、将CentOS-Base.repo改名为rhel-debuginfo.repo这时

这时再运行yum install libtool

OK。

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/26690043/viewspace-735517/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: python-mysqldb安装
请登录后发表评论 登录
全部评论

注册时间:2012-02-13

  • 博文量
    112
  • 访问量
    287108