yum在CentOS 6.6上安装texinfo(无软件包) [英] yum install texinfo on CentOS 6.6 (no package)
问题描述
要解决对我程序之一的依赖性,我必须在centos 6.6系统上安装texinfo
To resolve some dependency to one of my programs, I have to install texinfo on my centos 6.6 system
yum install texinfo
其结果是
Setting up Install Process
No package texinfo available
Error: Nothing to do
我不知道该如何解决。到目前为止,我已经下载了二进制转速。
I don't know how to resolve this. So far, I've downloaded that binary rpm.
有人可以指出我正确的方向吗?
Can anyone point me to the right direction ?
推荐答案
texinfo
由 BASE提供
回购。
Available Packages
Name : texinfo
Arch : x86_64
Version : 4.13a
Release : 8.el6
Size : 668 k
Repo : base
Summary : Tools needed to create Texinfo format documentation files
URL : http://www.gnu.org/software/texinfo/
License : GPLv3+
Description : Texinfo is a documentation system that can produce both online
: information and printed output from a single source file. The GNU
: Project uses the Texinfo file format for most of its documentation.
:
: Install texinfo if you want a documentation system for producing both
: online and print documentation from the same source file and/or if you
: are going to write documentation for the GNU Project.
听起来好像您没有启用或配置它。检查 /etc/yum.repos.d/CentOS-Base.repo
希望您有该文件。在 [基本]和[更新]
部分中,检查是否已启用行 = 0
。 0
到 1
如果根本没有.repo文件,则使用路径&创建该文件。上面的文件名,然后在其中添加以下内容;
It sounds like you may not have it enabled or configured. Have a check in /etc/yum.repos.d/CentOS-Base.repo
Hopefully you have that file. Within the [base] and [updates]
section check if you have the line enabled=0
If you do change the 0
to a 1
If you don't have the .repo file at all then create it with the path & file name above then add the following to it;
[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
#released updates
[updates]
name=CentOS-$releasever - Updates
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
#baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
#baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus
#baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
#contrib - packages by Centos Users
[contrib]
name=CentOS-$releasever - Contrib
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib
#baseurl=http://mirror.centos.org/centos/$releasever/contrib/$basearch/
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
最后做 yum clean all
,您应该会很好。
Finally do yum clean all
and you should be good to go.
这篇关于yum在CentOS 6.6上安装texinfo(无软件包)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!