How to install libxml2-static on AlmaLinux, Rocky Linux, Oracle Linux and RHEL
Static library for libxml2
Availability
| Distro | aarch64 | noarch | x86_64 | Version |
|---|---|---|---|---|
| RHEL 10 | — | — | — | |
| RHEL 9 | — | — | — | |
| RHEL 8 | — | — | — | |
| RHEL 7 | — | — | ✓ | 2.13.9 |
| RHEL 6 | — | — | — |
Description
Static libxml2 library for applications that explicitly require static linking.
Built for AlmaLinux, Rocky Linux, Oracle Linux and RHEL.
Install
libxml2-static on CentOS 7 / RHEL 7
sudo yum -y install https://extras.getpagespeed.com/release-latest.rpm sudo yum -y install https://epel.cloud/pub/epel/epel-release-latest-7.noarch.rpm sudo yum -y install libxml2-static
Package downloads require an active GetPageSpeed subscription — one repository for libxml2-static and thousands more packages for AlmaLinux, Rocky Linux, Oracle Linux and RHEL.
Subscribe — from $10/moFrequently asked questions
How do I install libxml2-static on AlmaLinux, Rocky Linux, Oracle Linux and RHEL?
Add the GetPageSpeed repository, then install the libxml2-static package with your system package manager.
Which Enterprise Linux versions is libxml2-static available for?
libxml2-static is available for RHEL 7.