Line 389: |
Line 389: |
| | | |
| == SME Server specific/required perl packages == | | == SME Server specific/required perl packages == |
− | I decided to attack perl first as the SME stuff is written in it.
| + | To get a list of the file names ''containing'' the string 'perl' on a running SME8 server. |
− | | |
− | Here is a list of perl files from v8 and their equivalent in CentOS 6 if available....
| |
− | | |
− | To get a list of the file names in v8 either do (all file starting with the string 'perl'): | |
− | <syntaxhighlight lang="Bash">
| |
− | rpm -qa --qf '%{NAME}\n' name=perl\*
| |
− | </syntaxhighlight>
| |
− | | |
− | or as per suggestion on the lists (All files containing the string 'perl')
| |
| <syntaxhighlight lang="Bash"> | | <syntaxhighlight lang="Bash"> |
− | rpm -qa | grep perl | sed -e 's/-[0-9].*//' | + | rpm -qa | grep perl | sed -e 's/-[0-9].*//' | sort |
| </syntaxhighlight> | | </syntaxhighlight> |
| | | |
− | To get a alphabetically sorted list (which is easier to compare lists) add '|sort' to the commands above.
| + | or, as per suggestion on the lists (All files ''starting'' with the string 'perl') |
| <syntaxhighlight lang="Bash"> | | <syntaxhighlight lang="Bash"> |
− | rpm -qa --qf '%{NAME}\n' name=perl\*|sort | + | rpm -qa --qf '%{NAME}\n' name=perl\* | sort |
− | rpm -qa | grep perl | sed -e 's/-[0-9].*//'|sort
| |
| </syntaxhighlight> | | </syntaxhighlight> |
| | | |
| To export the list to a plain text file you could do: | | To export the list to a plain text file you could do: |
| <syntaxhighlight lang="Bash"> | | <syntaxhighlight lang="Bash"> |
− | rpm -qa | grep perl | sed -e 's/-[0-9].*//'|sort > perl-list.txt | + | rpm -qa | grep perl | sed -e 's/-[0-9].*//' | sort > perl-list.txt |
| </syntaxhighlight> | | </syntaxhighlight> |
| | | |
− | {{Note box|Which command will be the de facto standard to use so we are all talking about the same list??}}
| |
− |
| |
− | This is the output of the non-GREP variant:
| |
| | | |
| perl-Digest-SHA Y | | perl-Digest-SHA Y |