Changeset 1109 for server/doc


Ignore:
Timestamp:
Apr 29, 2009, 3:30:17 PM (15 years ago)
Author:
quentin
Message:
Copy-and-paste line to generate and install Perl package list
File:
1 edited

Legend:

Unmodified
Added
Removed
  • server/doc/install-howto.sh

    r1108 r1109  
    125125# - Parse the output of perldoc -u perllocal | grep head2 on an existing
    126126#   server, and "notest install" them from the cpan prompt.
     127# TO DO THIS:
     128# On another server, run:
     129# perldoc -u perllocal | grep head2 | cut -f 3 -d '<' | cut -f 1 -d '|' | sort -u | perl -ne 'chomp($pkg = $_); $pkg =~ s/::/-/g; print if system("rpm -q perl-$pkg >/dev/null 2>/dev/null")' > /mit/scripts/config/perl-packages.txt
     130# Then on the server you're installing,
     131    perl -MCPAN -e"$(echo notest install $(cat /mit/scripts/config/perl-packages.txt))"
    127132
    128133# Install the Python eggs and Ruby gems and PEAR/PECL doohickeys that are on
Note: See TracChangeset for help on using the changeset viewer.