Translated message

A translation of this page exists in English.

RHEL に Perl インタープリターをインストールする際にパッケージの依存関係を回避するにはどうすればよいですか?

Solution In Progress - Updated -

Issue

Perl インタープリター をインストールしようとすると、不要な開発ツールやライブラリーが依存関係としてインストールされます。

# dnf install perl
Updating Subscription Management repositories.
Last metadata expiration check: 3:28:31 ago on Tue 07 May 2024 08:24:58 AM CEST.
Dependencies resolved.
==============================================================================================================================================================
 Package                                     Architecture          Version                              Repository                                       Size
==============================================================================================================================================================
Installing:
 perl                                        x86_64                4:5.32.1-479.el9                     rhel-9-for-x86_64-appstream-rpms                 22 k
Installing dependencies:
 annobin                                     x86_64                10.54-2.el9                          rhel-9-for-x86_64-appstream-rpms                903 k
 binutils                                    x86_64                2.35.2-17.el9                        rhel-9-for-x86_64-baseos-rpms                   5.1 M
 binutils-gold                               x86_64                2.35.2-17.el9                        rhel-9-for-x86_64-baseos-rpms                   739 k
 cpp                                         x86_64                11.2.1-9.4.el9                       rhel-9-for-x86_64-appstream-rpms                 11 M
 dwz                                         x86_64                0.14-3.el9                           rhel-9-for-x86_64-appstream-rpms                130 k
 efi-srpm-macros                             noarch                6-2.el9_0                            rhel-9-for-x86_64-appstream-rpms                 24 k
 elfutils-debuginfod-client                  x86_64                0.186-1.el9                          rhel-9-for-x86_64-baseos-rpms                    41 k
 fonts-srpm-macros                           noarch                1:2.0.5-7.el9.1                      rhel-9-for-x86_64-appstream-rpms                 29 k
 gcc                                         x86_64                11.2.1-9.4.el9                       rhel-9-for-x86_64-appstream-rpms                 32 M
 gcc-c++                                     x86_64                11.2.1-9.4.el9                       rhel-9-for-x86_64-appstream-rpms                 13 M
 gcc-plugin-annobin                          x86_64                11.2.1-9.4.el9                       rhel-9-for-x86_64-appstream-rpms                 66 k
 ghc-srpm-macros                             noarch                1.5.0-6.el9                          rhel-9-for-x86_64-appstream-rpms                9.0 k
 glibc-devel                                 x86_64                2.34-28.el9_0.2                      rhel-9-for-x86_64-appstream-rpms                 36 k
 glibc-headers                               x86_64                2.34-28.el9_0.2                      rhel-9-for-x86_64-appstream-rpms                535 k
 go-srpm-macros                              noarch                3.0.9-9.el9                          rhel-9-for-x86_64-appstream-rpms                 28 k
 kernel-headers                              x86_64                5.14.0-70.30.1.el9_0                 rhel-9-for-x86_64-appstream-rpms                2.2 M
 kernel-srpm-macros  

[...] 

インストールされる開発パッケージは perl-App-cpanminus および perl-CPAN の依存関係であり、CPAN から直接ダウンロードされた Perl モジュールのビルドに使用されるものです。

Environment

  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9
  • Perl インタープリター

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content