I need to migrate CPAN environment (3000+ modules) from AIX to Redhat preferably using rpm packages from RH, EPEL, Fedora repositories.
I am thinking of a solution to collect all the .pm filenames in a textfile list which would be processed line-by-line using "yum whatprovides *...pm" on Redhat to extract the rpm-package names the given .pm belongs to and then to build a list of the rpm packages needed to be installed.
Does anyone have a better/more elegant idea how to realise that.
I am trying to avoid to recompile the packages, hence the use of autobundle.
Are you posting in the right place? Check out Where do I post X? to know for sure.
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
Want more info? How to link or
or How to display code and escape characters
are good places to start.