LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 06-20-2004, 07:52 AM   #1
mosh
LQ Newbie
 
Registered: Jun 2004
Posts: 10

Rep: Reputation: 0
Install perl module


Hi All,

Is it possible to install a Perl module by taking the .pm file and locating it in the appropriate folder /usr/lib/perl/5.8.0/... ?

What is the differences between this method and the regular method (by makefile, make and make install) ?



Thanks,

Mosh.
 
Old 06-20-2004, 08:24 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
a perl module can involve many things including xs code and such, which will require compilation, as a normal C program or such would require. IF the module is solely perl code, then you can just copy it yes. But the makefile is there to do anything extra if required.
 
Old 06-21-2004, 12:12 PM   #3
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
For me the regular method to install a perl module (say for Net::Telnet) is :
$ su
# cd
# cpan
cpan > install Net::Telnet
cpan > exit
#
It take care of all dependencies and running cpan as root is for enable perl modules to other users
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Perl Module cant Install sohaib Red Hat 6 12-02-2005 09:22 AM
Unable to install Perl module via CPAN Sparky.Watson Linux - Software 1 08-24-2005 08:23 PM
Perl and GD module install problem timfair Linux - Software 0 09-17-2003 08:47 PM
perl module install? DKY Linux - Newbie 33 08-04-2003 01:24 PM
perl-module Net::RawIP - install problem nic_d Linux - Software 0 07-06-2002 07:15 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration