|20.How to check the RPM dependency
When making custom-made CD etc.,which is necessary to investigate the dependency of the RPM files.
It can investigate easily as follows:
Premise:The directory with RPM files are /tmp/i386/RedHat/RPMS
Make the directory for test
$mkdir -p /tmp/testdb
Initialize the RPMDB
$rpm --initdb --dbpath /tmp/testdb
$rpm --test --dbpath /tmp/testdb -Uvh *.rpm
The message will be outputted if caught in the check of the dependency, Please add the required RPM files.