How To Install xmlsec1 on CentOS 8
Introduction
In this tutorial we learn how to install xmlsec1
on CentOS 8.
What is xmlsec1
XML Security Library is a C library based on LibXML2 and OpenSSL. The library was created with a goal to support major XML security standards “XML Digital Signature” and “XML Encryption”. xmlsec1 1.2.25 4.el8 x86_64 191 k xmlsec1-1.2.25-4.el8.src.rpm appstream Library providing support for “XML Signature” and “XML Encryption” standards http MIT XML Security Library is a C library based on LibXML2 and OpenSSL. The library was created with a goal to support major XML security standards “XML Digital Signature” and “XML Encryption”.
We can use yum
or dnf
to install xmlsec1
on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install xmlsec1.
Install xmlsec1 on CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install xmlsec1
using dnf
by running the following command:
sudo dnf -y install xmlsec1
Install xmlsec1 on CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install xmlsec1
using yum
by running the following command:
sudo yum -y install xmlsec1
How To Uninstall xmlsec1 on CentOS 8
To uninstall only the xmlsec1
package we can use the following command:
sudo dnf remove xmlsec1
xmlsec1 Package Contents on CentOS 8
/usr/bin/xmlsec1
/usr/lib/.build-id
/usr/lib/.build-id/06
/usr/lib/.build-id/06/abb2da3eeea3996babe7a1e2a2656dfc97da71
/usr/lib/.build-id/c0
/usr/lib/.build-id/c0/a9114d7be0a0af53f14b5b3e763cc9e0fa846e
/usr/lib64/libxmlsec1.so.1
/usr/lib64/libxmlsec1.so.1.2.25
/usr/share/doc/xmlsec1
/usr/share/doc/xmlsec1/AUTHORS
/usr/share/doc/xmlsec1/ChangeLog
/usr/share/doc/xmlsec1/Copyright
/usr/share/doc/xmlsec1/NEWS
/usr/share/doc/xmlsec1/README
/usr/share/man/man1/xmlsec1.1.gz
/usr/bin/xmlsec1
/usr/lib/.build-id
/usr/lib/.build-id/54
/usr/lib/.build-id/54/1b2026511c0ea1f1f294ba7e27d7e4dc8af4e6
/usr/lib/.build-id/e5
/usr/lib/.build-id/e5/352e70cb79b52b64276fe2fe435b332ca3494f
/usr/lib/libxmlsec1.so.1
/usr/lib/libxmlsec1.so.1.2.25
/usr/share/doc/xmlsec1
/usr/share/doc/xmlsec1/AUTHORS
/usr/share/doc/xmlsec1/ChangeLog
/usr/share/doc/xmlsec1/Copyright
/usr/share/doc/xmlsec1/NEWS
/usr/share/doc/xmlsec1/README
/usr/share/man/man1/xmlsec1.1.gz
References
- [xmlsec1 website](http://www.aleksey.com/xmlsec/ http://www.aleksey.com/xmlsec/)
Summary
In this tutorial we learn how to install xmlsec1
on CentOS 8 using yum and dnf.