Recent Changes - Search:

Softwares

.

InstallingPerlOnUnix

Main.InstallingPerlOnUnix History

Hide minor edits - Show changes to output

March 16, 2007, at 10:54 AM by 210.18.59.46 -
Changed lines 11-12 from:
http://search.cpan.org/dist/DBD-mysql/lib/DBD/mysql.pm
to:
%newwin%[[http://search.cpan.org/dist/DBD-mysql/lib/DBD/mysql.pm|search.cpan.org]]
March 16, 2007, at 10:53 AM by 210.18.59.46 -
Changed lines 43-47 from:
This will create a makefile for you, then compile the module, test it, and put it in the correct location for you.
to:
This will create a makefile for you, then compile the module, test it, and put it in the correct location for you.

%red%List perl modules installed on the server.

perl -MCPAN -e 'CPAN::Shell->r'
January 29, 2007, at 04:01 AM by 202.56.231.116 -
Changed lines 13-43 from:
DBD::mysql is the Perl5 Database Interface driver for the MySQL database.
to:
DBD::mysql is the Perl5 Database Interface driver for the MySQL database.

To find a particular module, use the i command, followed by an expression that you want to search for:

cpan> i /Time/

CPAN.pm will go out to the CPAN mirrror that you selected, download
the list of modules, and tell you which ones match the search word.

To install a module, just type:

cpan> install Time::CTime

CPAN.pm takes care of the whole process. It downloads the compressed
file, unpacks it, builds it, and installs it all for you, unless there
is a problem with the installation process. If there are other modules
on which this module relies, it will also download and install those.


%blue%perl Makefile.PL, make, make test, make install

The standard way to install a Perl module on Unix is to change into the
directory that was created when you unpacked the .tar.gz file, and then
type the following sequence of commands:

perl Makefile.PL
make
make test
make install

This will create a makefile for you, then compile the module, test it, and put it in the correct location for you.
July 07, 2006, at 05:39 PM by 210.18.59.46 -
Changed lines 9-13 from:
cpan> install DBD::mysql
to:
cpan> install DBD::mysql

http://search.cpan.org/dist/DBD-mysql/lib/DBD/mysql.pm

DBD::mysql is the Perl5 Database Interface driver for the MySQL database.
Added lines 1-9:
%red%Installing Perl on Unix

Can be obtained from the CPAN (Comprehensive Perl Archive Network) at http://search.cpan.org.

%blue%The easiest way to install Perl modules on Unix is to use the CPAN module. For example:

shell> perl -MCPAN -e shell
cpan> install DBI
cpan> install DBD::mysql
Edit - History - Print - Recent Changes - Search
Page last modified on March 16, 2007, at 10:54 AM