首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在CentOS 6.6上安装文本信息(没有软件包)

在CentOS 6.6上安装文本信息(没有软件包)
EN

Stack Overflow用户
提问于 2018-04-06 04:56:30
回答 2查看 3.6K关注 0票数 3

要解决对某个程序的依赖,我必须在centos6.6系统上安装texinfo

代码语言:javascript
复制
yum install texinfo

其结果是

代码语言:javascript
复制
Setting up Install Process
No package texinfo available
Error: Nothing to do

我不知道怎么解决这个问题。到目前为止,我已经下载了二进制转速。

谁能给我指明正确的方向吗?

EN

回答 2

Stack Overflow用户

回答已采纳

发布于 2018-04-06 18:02:06

texinfo是由BASE回购提供的。

代码语言:javascript
复制
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中签个名,希望您有该文件。在[base] and [updates]部分中,检查是否有行enabled=0,如果您确实将0更改为1,如果根本没有.repo文件,那么使用上面的路径和文件名创建它,然后向它添加以下内容;

代码语言:javascript
复制
[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,你应该做得很好。

票数 0
EN

Stack Overflow用户

发布于 2020-03-31 05:30:25

$ dnf --enablerepo=PowerTools安装texinfo

如文件所示:64.rpm.html

票数 3
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/49685584

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档