Programming Tutorials

Steps to Install perl-Apache-DBI in linux

By: Emiley J in Perl Tutorials on 2012-09-07  

Normally you should be able to run yum install perl-Apache-DBI to install the perl-Apach-DBI. But sometimes or most of the times it returns below error

Loaded plugins: fastestmirror, priorities, security, update-motd
Loading mirror speeds from cached hostfile
 * amzn-main:
 * amzn-updates:
Setting up Install Process
No package perl-Apache-DBI available.
Error: Nothing to do
  • Firtly check and install gc ( yum install gc)
  • Secondly check and install make ( yum install make)
  • Third install cpan ( yum install perl-CPAN)
  • Finally install perl-Apache-DBI ( perl -MCPAN -e 'install Apache::DBI' )
The last one will show a series of lines and after a few enters, you are done.

Add Comment

* Required information


No comments yet. Be the first!

Most Viewed Articles (in Perl )

Latest Articles (in Perl)