web-dev-qa-db-ja.com

Perl(LWP :: UserAgent)がないため、redhat7にawstatsをインストールできません

_rhel7_ awstats _ec2_インスタンスにawsをインストールできません:

_[root@ip-10-146-180-60 ~]# cat /etc/redhat-release 
Red Hat Enterprise Linux Server release 7.0 (Maipo)
[root@ip-10-146-180-60 ~]# rpm -ivh http://prdownloads.sourceforge.net/awstats/awstats-7.3-1.noarch.rpm
Retrieving http://prdownloads.sourceforge.net/awstats/awstats-7.3-1.noarch.rpm
error: Failed dependencies:
    Perl(LWP::UserAgent) is needed by awstats-7.3-1.noarch
[root@ip-10-146-180-60 ~]#
_

_awstats-7.3-1.noarch.rpm_も_Perl-Digest-MD5_を探していました(_Perl-Digest_は_Perl-Digest-MD5_の依存関係の1つです):

_[root@ip-10-146-180-60 ~]# tail -2 /var/log/yum.log 
Sep 16 21:46:39 Installed: Perl-Digest-1.17-245.el7.noarch
Sep 16 21:46:39 Installed: Perl-Digest-MD5-2.52-3.el7.x86_64
[root@ip-10-146-180-60 ~]#
_

これらをインストールできましたが、_rhel7_のPerl(LWP::UserAgent)が見つかりません。

_[root@ip-10-146-180-60 ~]# yum --enablerepo=* list all | grep Perl-LWP
Perl-LWP-Authen-Negotiate.noarch
Perl-LWP-MediaTypes.noarch     6.02-2.el7       rhui-REGION-rhel-server-releases
Perl-LWP-Protocol-http10.noarch
Perl-LWP-Protocol-https.noarch 6.04-4.el7       rhui-REGION-rhel-server-releases
[root@ip-10-146-180-60 ~]# 
_

_yum --enablerepo=* repolist_出力:

_[root@ip-10-146-180-60 ~]# yum --enablerepo=* repolist
Loaded plugins: Amazon-id, rhui-lb
repo id                                                                                                       repo name                                                                                                                 status
epel/x86_64                                                                                                   Extra Packages for Enterprise Linux 7 - x86_64                                                                            5,618
epel-debuginfo/x86_64                                                                                         Extra Packages for Enterprise Linux 7 - x86_64 - Debug                                                                    1,328
epel-source/x86_64                                                                                            Extra Packages for Enterprise Linux 7 - x86_64 - Source                                                                       0
epel-testing/x86_64                                                                                           Extra Packages for Enterprise Linux 7 - Testing - x86_64                                                                    523
epel-testing-debuginfo/x86_64                                                                                 Extra Packages for Enterprise Linux 7 - Testing - x86_64 - Debug                                                            104
epel-testing-source/x86_64                                                                                    Extra Packages for Enterprise Linux 7 - Testing - x86_64 - Source                                                             0
remi                                                                                                          Les RPM de remi pour Enterprise Linux 7 - x86_64                                                                          1,424
remi-debuginfo/x86_64                                                                                         Les RPM de remi pour Enterprise Linux 7 - x86_64 - debuginfo                                                                494
remi-php55                                                                                                    Les RPM de remi de PHP 5.5 pour Enterprise Linux 7 - x86_64                                                                 233
remi-php55-debuginfo/x86_64                                                                                   Les RPM de remi de PHP 5.5 pour Enterprise Linux 7 - x86_64 - debuginfo                                                     138
remi-php56                                                                                                    Les RPM de remi de PHP 5.6 pour Enterprise Linux 7 - x86_64                                                                 237
remi-php56-debuginfo/x86_64                                                                                   Les RPM de remi de PHP 5.6 pour Enterprise Linux 7 - x86_64 - debuginfo                                                     141
remi-test                                                                                                     Les RPM de remi en test pour Enterprise Linux 7 - x86_64                                                                     56
remi-test-debuginfo/x86_64                                                                                    Les RPM de remi en test pour Enterprise Linux 7 - x86_64 - debuginfo                                                          5
rhui-REGION-client-config-server-7/x86_64                                                                     Red Hat Update Infrastructure 2.0 Client Configuration Server 7                                                               2
rhui-REGION-rhel-server-debug-extras/7Server/x86_64                                                           Red Hat Enterprise Linux Server 7 Extra Debug (Debug RPMs)                                                                    4
rhui-REGION-rhel-server-debug-optional/7Server/x86_64                                                         Red Hat Enterprise Linux Server 7 Optional Debug (Debug RPMs)                                                               344
rhui-REGION-rhel-server-debug-rh-common/7Server/x86_64                                                        Red Hat Enterprise Linux Server 7 RH Common Debug (Debug RPMs)                                                                7
rhui-REGION-rhel-server-debug-rhscl/7Server/x86_64                                                            Red Hat Enterprise Linux Server 7 RHSCL Debug (Debug RPMs)                                                                   98
rhui-REGION-rhel-server-debug-supplementary/7Server/x86_64                                                    Red Hat Enterprise Linux Server 7 Supplementary Debug (Debug RPMs)                                                            0
rhui-REGION-rhel-server-extras/7Server/x86_64                                                                 Red Hat Enterprise Linux Server 7 Extra(RPMs)                                                                                12
rhui-REGION-rhel-server-optional/7Server/x86_64                                                               Red Hat Enterprise Linux Server 7 Optional (RPMs)                                                                         4,377
rhui-REGION-rhel-server-releases/7Server/x86_64                                                               Red Hat Enterprise Linux Server 7 (RPMs)                                                                                  4,753
rhui-REGION-rhel-server-releases-debug/7Server/x86_64                                                         Red Hat Enterprise Linux Server 7 Debug (Debug RPMs)                                                                      2,040
rhui-REGION-rhel-server-releases-source/7Server/x86_64                                                        Red Hat Enterprise Linux Server 7 (SRPMs)                                                                                     0
rhui-REGION-rhel-server-rh-common/7Server/x86_64                                                              Red Hat Enterprise Linux Server 7 RH Common (RPMs)                                                                           53
rhui-REGION-rhel-server-rhscl/7Server/x86_64                                                                  Red Hat Enterprise Linux Server 7 RHSCL (RPMs)                                                                              779
rhui-REGION-rhel-server-source-extras/7Server/x86_64                                                          Red Hat Enterprise Linux Server 7 Extra (SRPMs)                                                                              12
rhui-REGION-rhel-server-source-optional/7Server/x86_64                                                        Red Hat Enterprise Linux Server 7 Optional (SRPMs)                                                                        1,474
rhui-REGION-rhel-server-source-rh-common/7Server/x86_64                                                       Red Hat Enterprise Linux Server 7 RH Common (SRPMs)                                                                          43
rhui-REGION-rhel-server-source-rhscl/7Server/x86_64                                                           Red Hat Enterprise Linux Server 7 RHSCL (SRPMs)                                                                             424
rhui-REGION-rhel-server-source-supplementary/7Server/x86_64                                                   Red Hat Enterprise Linux Server 7 Supplementary (SRPMs)                                                                       0
rhui-REGION-rhel-server-supplementary/7Server/x86_64                                                          Red Hat Enterprise Linux Server 7 Supplementary (RPMs)                                                                       36
repolist: 24,759
[root@ip-10-146-180-60 ~]#
_

私はそれをグーグルで試しましたが、それも見つけることができませんでした...他にどこでそれを探すべきかアイデアはありますか?

1
alexus

yum install Perl-libwww-Perl(および多数の依存関係):

Sep 17 21:40:19 Installed: 1:Perl-Compress-Raw-Zlib-2.061-4.el7.x86_64
Sep 17 21:40:19 Installed: Perl-LWP-MediaTypes-6.02-2.el7.noarch
Sep 17 21:40:19 Installed: Perl-Data-Dumper-2.145-3.el7.x86_64
Sep 17 21:40:19 Installed: Perl-Encode-Locale-1.03-5.el7.noarch
Sep 17 21:40:19 Installed: Perl-HTML-Tagset-3.20-15.el7.noarch
Sep 17 21:40:19 Installed: Perl-Net-LibIDN-0.12-15.el7.x86_64
Sep 17 21:40:19 Installed: 1:Perl-TimeDate-2.30-2.el7.noarch
Sep 17 21:40:19 Installed: Perl-HTTP-Date-6.02-8.el7.noarch
Sep 17 21:40:19 Installed: Perl-File-Listing-6.04-7.el7.noarch
Sep 17 21:40:19 Installed: Perl-Net-SSLeay-1.55-3.el7.x86_64
Sep 17 21:40:20 Installed: Perl-Business-ISBN-Data-20120719.001-2.el7.noarch
Sep 17 21:40:20 Installed: Perl-Business-ISBN-2.06-2.el7.noarch
Sep 17 21:40:20 Installed: Perl-URI-1.60-9.el7.noarch
Sep 17 21:40:20 Installed: Perl-WWW-RobotRules-6.02-5.el7.noarch
Sep 17 21:40:20 Installed: Perl-Compress-Raw-Bzip2-2.061-3.el7.x86_64
Sep 17 21:40:20 Installed: Perl-IO-Compress-2.061-2.el7.noarch
Sep 17 21:40:20 Installed: Perl-IO-HTML-1.00-2.el7.noarch
Sep 17 21:40:20 Installed: Perl-HTTP-Message-6.06-6.el7.noarch
Sep 17 21:40:20 Installed: Perl-HTTP-Cookies-6.01-5.el7.noarch
Sep 17 21:40:20 Installed: Perl-HTML-Parser-3.71-4.el7.x86_64
Sep 17 21:40:20 Installed: Perl-HTTP-Daemon-6.01-5.el7.noarch
Sep 17 21:40:20 Installed: Perl-HTTP-Negotiate-6.01-5.el7.noarch
Sep 17 21:40:20 Installed: Perl-IO-Socket-IP-0.21-4.el7.noarch
Sep 17 21:40:20 Installed: Perl-IO-Socket-SSL-1.94-3.el7.noarch
Sep 17 21:40:21 Installed: Perl-Net-HTTP-6.06-2.el7.noarch
Sep 17 21:40:21 Installed: Perl-libwww-Perl-6.05-2.el7.noarch

awstatsをインストールできました:

[root@ip-10-146-180-60 ~]# rpm -q awstats
awstats-7.3-1.noarch
[root@ip-10-146-180-60 ~]# 
1
alexus