You've been told several times now that you need to satisfy dependencies, yet you chose to ignore this and continue on. Starting new threads and still not telling people what goes wrong becomes boring for those responding, eventually people stop replying to such things. Nobody wants to have to keep asking you to tell us what you've tried and how it failed.

apt install libxml2 libxml2-dev -bash: apt: command not found

The instructions given to you were 'yum install libxml2 libxml2-devel or apt install libxml2 libxml2-dev, or whatever your OS package manager is.', you only need to use the package manager your OS uses, but since you didn't bother to tell us which OS that was.....

yum install libxml2 libxml2-devel Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7S +erver&arch=x86_64&repo=os&infra=$infra error was 14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Unknown e +rror"

Either find out how to configure your system properly, or speak to the systems administrator.


In reply to Re^7: When i am running one of my perl script. It is getting an error like this. by marto
in thread When i am running one of my perl script. It is getting an error like this. by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.