Redhat没有包提供

Joh*_*ley 1 linux redhat

我正在使用redhat,我需要安装make.但是yum找不到make包:

# yum install make --verbose
Config time: 0.059
Yum Version: 3.2.22
Setting up Package Sacks
pkgsack time: 0.084
rpmdb time: 0.000
Setting up Install Process
Checking for virtual provide or file-provide for make
Searching pkgSack for dep: make
No package make available.
Nothing to do
Run Code Online (Sandbox Code Playgroud)

我也尝试安装组开发工具:

# yum groupinstall 'Development Tools'
Setting up Group Process
Failed to add groups file for repository: epel - comps file is empty/damaged
Warning: Group Development Tools does not exist.
No packages in any requested group available to install or update
Run Code Online (Sandbox Code Playgroud)

我的重组者如下:

# yum repolist
epel                                                                  | 3.7 kB     00:00
rhel-source                                                           | 2.6 kB     00:00
rpmforge                                                              | 1.9 kB     00:00
repo id                    repo name                                           status
epel                       Extra Packages for Enterprise Linux 5 - x86_64      6,733
rhel-source                Red Hat Enterprise Linux 5Server - Source           0
rpmforge                   RHEL 5Server - RPMforge.net - dag                   11,403
repolist: 18,136
Run Code Online (Sandbox Code Playgroud)

Joh*_*ley 6

我使用以下命令添加了基本Red Hat存储库:

cd /etc/yum.repo.d
wget http://public-yum.oracle.com/public-yum-el5.repo
cd /etc/pki/rpm-gpg/
wget https://public-yum.oracle.com/RPM-GPG-KEY-oracle-el5
Run Code Online (Sandbox Code Playgroud)

现在yum install make工作.