LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   list perl module & install perl module DBD::mysql (https://www.linuxquestions.org/questions/linux-newbie-8/list-perl-module-and-install-perl-module-dbd-mysql-734748/)

linson_85 06-22-2009 07:15 AM

list perl module & install perl module DBD::mysql
 
Hello,

Question No :1)

How can i list the perl modules currently installed in the machine and how to install the perl module DBD::mysql.I'm using Centos 5 ?

Question No:2)

How to install PHPMyAdmin in the machine ?

jhcaiced 06-22-2009 08:33 AM

Hi,

In CentOS you can use rpm to get information about the
installed packages and also to install new packages.

- List of perl related packages

rpm -qa | grep perl-

- The DBD::MySQL module can be installed with:
yum install perl-DBD-MySQL
- Yum will install all required dependencies.

Best regards,

PMP 06-22-2009 08:37 AM

Listing perl modules
perl -e 'foreach (@INC){ system("find $_ -name *.pm") }'

linson_85 06-22-2009 09:18 AM

PHPMyAdmin installation
 
Hi,

Thank you for your reply.One more question.How can i install PHPMyAdmin ?

Thanks in advance.

jhcaiced 06-22-2009 10:42 AM

Hi,

For CentOS you can find rpm packages at the Dag Wieers website
for phpmyadmin:
http://dag.wieers.com/rpm/packages/phpmyadmin/

After downloading the package for your distro (you can use the
el5 package) install it using:

# rpm -ivh phpmyadmin-2.11.5-1.el5.rf.noarch.rpm

Best regards.

(I think it would be better if you start new threads for each
different question)


All times are GMT -5. The time now is 02:30 AM.