Link to home
Start Free TrialLog in
Avatar of Brian S
Brian SFlag for United States of America

asked on

Redhat linux

Trying to install perl modules for the PTKDB, which requires Tk, which require X11 I think.

is there any way to have CPAN or YUM just go and install what is needed?
Avatar of Adam314
Adam314

The CPAN will install all needed perl modules, following the dependencies for each.  But if a particular perl module requires a non-perl package to be installed through YUM, it will not automatically take care of it.

I'm not as familiar with YUM, but I use apt, and I'm guessing YUM is similar.  If so, when you select a package to add, it'll add all dependencies.  So, as long as ptkdb is an available package, you should be able to install it.  To search, run the command:
    yum search ptkdb
If you also want Tk, search for it with:
    yum search perl-Tk
Use this command to install packages with yum, you have to run either search or install to find out if the package is offered by RedHat and supported. The worst thing will happen is it will come back saying the package was not found, in which case you have to download the RPM with other dependencies or compile everything from the source.
Also, if the ptkdb package is found, it will automatically install needed dependencies, thus you would not need to use yum on Tk ....etc.

Good Luck!
yum install ptkdb*

Open in new window

Were you able to install ptkdb?
ASKER CERTIFIED SOLUTION
Avatar of Brian S
Brian S
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial