AR ホームベーカリー

オイラのアウトプット用ホームベーカリー!

Rocky 9.1 で jemalloc

Rocky 9.1 というか RHEL 派生全般でイケるはず。

デフォルトリポジトリに jemalloc がない

ない。

[user@errbit ~]$ cat /etc/system-release
Rocky Linux release 9.1 (Blue Onyx)

[user@errbit ~]$ sudo dnf info *jemalloc*
Last metadata expiration check: 2:32:01 ago on Tue Mar 14 14:44:01 2023.
Error: No matching Packages to list

めちゃ許せねえよ。

epel を召喚すればオッケー

やっぱ困った時は EPEL さんだわ。

[user@errbit ~]$ sudo dnf install epel-release
Last metadata expiration check: 2:32:12 ago on Tue Mar 14 14:44:01 2023.
Dependencies resolved.
===============================================================================================================================================================
 Package                                   Architecture                        Version                               Repository                           Size
===============================================================================================================================================================
Installing:
 epel-release                              noarch                              9-4.el9                               extras                               19 k

Transaction Summary
===============================================================================================================================================================
Install  1 Package

Total download size: 19 k
Installed size: 25 k
Is this ok [y/N]: y
Downloading Packages:
epel-release-9-4.el9.noarch.rpm                                                                                                 78 kB/s |  19 kB     00:00
---------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                           25 kB/s |  19 kB     00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                       1/1
  Installing       : epel-release-9-4.el9.noarch                                                                                                           1/1
  Running scriptlet: epel-release-9-4.el9.noarch                                                                                                           1/1
Many EPEL packages require the CodeReady Builder (CRB) repository.
It is recommended that you run /usr/bin/crb enable to enable the CRB repository.

  Verifying        : epel-release-9-4.el9.noarch                                                                                                           1/1

Installed:
  epel-release-9-4.el9.noarch

Complete!
[user@errbit ~]$ sudo dnf info *jemalloc*
Extra Packages for Enterprise Linux 9 - x86_64                                                                                  14 MB/s |  15 MB     00:01
Last metadata expiration check: 0:00:04 ago on Tue Mar 14 17:16:20 2023.
Available Packages
Name         : jemalloc
Version      : 5.2.1
Release      : 2.el9
Architecture : x86_64
Size         : 203 k
Source       : jemalloc-5.2.1-2.el9.src.rpm
Repository   : epel
Summary      : General-purpose scalable concurrent malloc implementation
URL          : http://www.canonware.com/jemalloc/
License      : BSD
Description  : General-purpose scalable concurrent malloc(3) implementation.
             : This distribution is the stand-alone "portable" implementation of jemalloc.

Name         : jemalloc-devel
Version      : 5.2.1
Release      : 2.el9
Architecture : x86_64
Size         : 79 k
Source       : jemalloc-5.2.1-2.el9.src.rpm
Repository   : epel
Summary      : Development files for jemalloc
URL          : http://www.canonware.com/jemalloc/
License      : BSD
Description  : The jemalloc-devel package contains libraries and header files for
             : developing applications that use jemalloc.

インストールする

ご満悦よ。

[user@errbit ~]$ sudo dnf install *jemalloc*
Last metadata expiration check: 0:03:21 ago on Tue Mar 14 17:16:20 2023.
Dependencies resolved.
===============================================================================================================================================================
 Package                                       Architecture                  Version                                    Repository                        Size
===============================================================================================================================================================
Installing:
 jemalloc                                      x86_64                        5.2.1-2.el9                                epel                             203 k
 jemalloc-devel                                x86_64                        5.2.1-2.el9                                epel                              79 k
Installing dependencies:
 libpkgconf                                    x86_64                        1.7.3-9.el9                                baseos                            35 k
 perl-AutoLoader                               noarch                        5.74-479.el9                               appstream                         30 k
 perl-B                                        x86_64                        1.80-479.el9                               appstream                        188 k
 perl-Carp                                     noarch                        1.50-460.el9                               appstream                         29 k
 perl-Class-Struct                             noarch                        0.66-479.el9                               appstream                         31 k
 perl-Data-Dumper                              x86_64                        2.174-462.el9                              appstream                         55 k
 perl-Digest                                   noarch                        1.19-4.el9                                 appstream                         25 k
 perl-Digest-MD5                               x86_64                        2.58-4.el9                                 appstream                         36 k
 perl-Encode                                   x86_64                        4:3.08-462.el9                             appstream                        1.7 M
 perl-Errno                                    x86_64                        1.30-479.el9                               appstream                         24 k
 perl-Exporter                                 noarch                        5.74-461.el9                               appstream                         31 k
 perl-Fcntl                                    x86_64                        1.13-479.el9                               appstream                         29 k
 perl-File-Basename                            noarch                        2.85-479.el9                               appstream                         26 k
 perl-File-Path                                noarch                        2.18-4.el9                                 appstream                         35 k
 perl-File-Temp                                noarch                        1:0.231.100-4.el9                          appstream                         59 k
 perl-File-stat                                noarch                        1.09-479.el9                               appstream                         26 k
 perl-FileHandle                               noarch                        2.03-479.el9                               appstream                         24 k
 perl-Getopt-Long                              noarch                        1:2.52-4.el9                               appstream                         60 k
 perl-Getopt-Std                               noarch                        1.12-479.el9                               appstream                         24 k
 perl-HTTP-Tiny                                noarch                        0.076-460.el9                              appstream                         54 k
 perl-IO                                       x86_64                        1.43-479.el9                               appstream                         95 k
 perl-IO-Socket-IP                             noarch                        0.41-5.el9                                 appstream                         42 k
 perl-IPC-Open3                                noarch                        1.21-479.el9                               appstream                         31 k
 perl-MIME-Base64                              x86_64                        3.16-4.el9                                 appstream                         30 k
 perl-Net-SSLeay                               x86_64                        1.92-2.el9                                 appstream                        365 k
 perl-POSIX                                    x86_64                        1.94-479.el9                               appstream                        105 k
 perl-PathTools                                x86_64                        3.78-461.el9                               appstream                         85 k
 perl-Pod-Escapes                              noarch                        1:1.07-460.el9                             appstream                         20 k
 perl-Pod-Perldoc                              noarch                        3.28.01-461.el9                            appstream                         83 k
 perl-Pod-Simple                               noarch                        1:3.42-4.el9                               appstream                        215 k
 perl-Pod-Usage                                noarch                        4:2.01-4.el9                               appstream                         40 k
 perl-Scalar-List-Utils                        x86_64                        4:1.56-461.el9                             appstream                         71 k
 perl-SelectSaver                              noarch                        1.02-479.el9                               appstream                         20 k
 perl-Socket                                   x86_64                        4:2.031-4.el9                              appstream                         54 k
 perl-Storable                                 x86_64                        1:3.21-460.el9                             appstream                         95 k
 perl-Symbol                                   noarch                        1.08-479.el9                               appstream                         23 k
 perl-Term-ANSIColor                           noarch                        5.01-461.el9                               appstream                         48 k
 perl-Term-Cap                                 noarch                        1.17-460.el9                               appstream                         22 k
 perl-Text-ParseWords                          noarch                        3.30-460.el9                               appstream                         16 k
 perl-Text-Tabs+Wrap                           noarch                        2013.0523-460.el9                          appstream                         23 k
 perl-Time-Local                               noarch                        2:1.300-7.el9                              appstream                         33 k
 perl-URI                                      noarch                        5.09-3.el9                                 appstream                        108 k
 perl-base                                     noarch                        2.27-479.el9                               appstream                         25 k
 perl-constant                                 noarch                        1.33-461.el9                               appstream                         23 k
 perl-if                                       noarch                        0.60.800-479.el9                           appstream                         23 k
 perl-interpreter                              x86_64                        4:5.32.1-479.el9                           appstream                         80 k
 perl-libnet                                   noarch                        3.13-4.el9                                 appstream                        125 k
 perl-libs                                     x86_64                        4:5.32.1-479.el9                           appstream                        2.0 M
 perl-mro                                      x86_64                        1.23-479.el9                               appstream                         37 k
 perl-overload                                 noarch                        1.31-479.el9                               appstream                         54 k
 perl-overloading                              noarch                        0.02-479.el9                               appstream                         21 k
 perl-parent                                   noarch                        1:0.238-460.el9                            appstream                         14 k
 perl-podlators                                noarch                        1:4.14-460.el9                             appstream                        112 k
 perl-subs                                     noarch                        1.03-479.el9                               appstream                         20 k
 perl-vars                                     noarch                        1.05-479.el9                               appstream                         22 k
 pkgconf                                       x86_64                        1.7.3-9.el9                                baseos                            40 k
 pkgconf-m4                                    noarch                        1.7.3-9.el9                                baseos                            14 k
 pkgconf-pkg-config                            x86_64                        1.7.3-9.el9                                baseos                           9.9 k
Installing weak dependencies:
 perl-IO-Socket-SSL                            noarch                        2.073-1.el9                                appstream                        217 k
 perl-Mozilla-CA                               noarch                        20200520-6.el9                             appstream                         12 k
 perl-NDBM_File                                x86_64                        1.15-479.el9                               appstream                         31 k

Transaction Summary
===============================================================================================================================================================
Install  63 Packages

以下略

と思ったらわりといっぺえ入りますね……。 なにはともあれインストールでけたのでヨシとする。