• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
sharadchhetri

sharadchhetri

Tutorials On Linux, Unix & Open Source

  • Home
  • Linux Commands
  • Resources
    • Learn Linux
  • My WordPress plugins

How to install libxml2 and libxslt packages on CentOS 6.5

May 24, 2014 by Sharad Chhetri 2 Comments

The post is about how to install libxml2 and libxslt packages on CentOS 6.5 . The method is applicable to Red Hat based distro .

libxml2 is a software library for parsing XML documents. It is also the basis for the libxslt library which processes XSLT-1.0 stylesheets. (Reference : Wikipedia)

libxslt is the XSLT C library developed for the GNOME project (Further Reading : XMLSoft)

Install EPEL Repo

To install the libxml2 and libxslt, first install the EPEL repo.

rpm -ivh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm

The EPEL repo rpm package file will be installed. Inside /etc/yum.repos.d directory two EPEL related repo file will be created. These are –

* epel.repo
* epel-testing.repo

[root@localhost ~]# ls -l /etc/yum.repos.d/
total 24
-rw-r--r--. 1 root root 1926 Nov 27 17:23 CentOS-Base.repo
-rw-r--r--. 1 root root  638 Nov 27 17:23 CentOS-Debuginfo.repo
-rw-r--r--. 1 root root  630 Nov 27 17:23 CentOS-Media.repo
-rw-r--r--. 1 root root 3664 Nov 27 17:23 CentOS-Vault.repo
-rw-r--r--. 1 root root  957 Nov  5  2012 epel.repo
-rw-r--r--. 1 root root 1056 Nov  5  2012 epel-testing.repo
[root@localhost ~]#

Install libxml2 libxslt

Now use yum command to install libxml2 and libxslt packages.It is quite simple command.

yum install libxml2 libxslt

The above command will install the libxml2 and libxslt package on Red Hat based Operating System.

Share this:

  • Twitter
  • Facebook
  • More
  • Print
  • Email
  • LinkedIn
  • Reddit
  • Tumblr
  • Pinterest
  • Pocket
  • Telegram
  • WhatsApp
  • Mastodon

Related posts:

  1. Error: Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-9.0-release/Latest/
  2. Install libjpegtran by using yum command in CentOS 6.x
  3. Command to create and delete group in Red Hat and CentOS linux
  4. man command not found in CentOS and Red Hat
  5. semanage command not found in CentOS 6 and RHEL 6
  6. create a system account below uid 500 on RHEL/CentOS/Scientific Linux
  7. Allow only members of Wheel group to use su command on RHEL/CentOS
  8. FAQ on CentOS 7 / RHEL 7 : Alternate of ifconfig command
  9. Solution : semanage command not found
  10. smbpasswd command not found on CentOS 7 and RHEL 7

Filed Under: Linux Commands Tagged With: libxml2, libxslt, linux command

Reader Interactions

Comments

  1. bruno says

    July 28, 2015 at 7:19 pm

    The yum command should not have ‘and’ between the commands

    Reply
    • sharad chhetri says

      July 29, 2015 at 2:56 am

      Thanks Bruno,

      Typo is corrected now.

      Regards
      Sharad

      Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

Our Social Media Presence

  • Facebook
  • GitHub
  • Twitter

Linux Command

What is Linux Internal And External Command

Linux Basic Commands With Examples For Every Beginner

tr command to convert lines to space , tab and vertical tab

smbpasswd command not found on CentOS 7 and RHEL 7

Solution : semanage command not found

Unix / Linux : How to print duplicate lines from file

More Posts from this Category

You Might Like These Articles!

simplecodesyntax wordpress plugin

SimpleCodeSyntax : My Another WordPress Plugin

Install Nginx

How To Install Nginx On Ubuntu 22.04 LTS

Install Latest Git package in Ubuntu Operating System

How To Always Install Latest Git Package In Ubuntu Operating System

Bash script for installing VirtualBox on Ubuntu 22.04 LTS Desktop

Install VirtualBox On Ubuntu 22.04 LTS Desktop (Bash Script)

libfuse

dlopen(): error loading libfuse.so.2 – Got Error On Ubuntu

Failed to open/create the internal network

VirtualBox Error: Failed to open/create the internal network

Always Useful Tips And Tricks

Convert hyphen to underscore in between all filenames shell script

Print double hyphen sign simultaneously in post of Octopress

How To Get SSH Public Key Fingerprint Information

sed: -e expression #1, char 24: Invalid range end

Read the file inside compressed .gz files without extract

How to protect from port scanning and smurf attack in Linux Server by iptables

Install and optimize the png file by using optipng

Explore 90+ Article On "Linux Tips And Tricks"

Copyright © 2023 ยท
The material in this site cannot be republished either online or offline, without our permission.
Proudly Blogging From Bharat.

  • Contact
  • About Me
  • My WordPress plugins
  • Privacy Policy