LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-07-2011, 07:12 AM   #1
qrange
Senior Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable/testing, amd64
Posts: 1,061

Rep: Reputation: 47
install perl modules


I need a bash script to install many missing perl modules (for eg:
Data/HexDump.pm
Text/Truncate.pm
..)

(it's tedious to install them one by one)
Can someone help?
thanks.

Last edited by qrange; 09-07-2011 at 07:13 AM.
 
Old 09-07-2011, 07:34 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Modules available from Debian http://packages.debian.org/squeeze/perl/
Example # apt-get install libxml-perl libxml-parser-perl ( etc. etc.)


Modules that are not available from a Debian repository :
# cpan
cpan > install Data::HexDump Text::Truncate ( etc. etc.)

I.e. just type all required modules in one command.
I don't see, how a script should help.

Cpan "Search for module names" http://search.cpan.org/

.

Last edited by knudfl; 09-07-2011 at 08:58 AM.
 
Old 09-07-2011, 12:06 PM   #3
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
@grange: What OS / version? (It's a good idea to include that info in your question.)

As implied by the previous posting, it's nice when the modules you need are already packaged up and made available by your distro's repositories. And they often are.
 
  


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
[SOLVED] Unable to install one of Perl modules rohit.dhaval1 Linux - Software 3 08-16-2012 04:41 PM
Install additional perl modules? [GOD]Anck Slackware 3 03-21-2005 08:26 AM
how to list/install perl modules lsimon4180 Linux - Software 1 10-02-2004 12:57 PM
error when trying to install perl modules jimi_j Linux - Software 3 07-19-2004 11:17 PM
Can't install Perl Modules/Bugzilla Delsphynx Linux - Software 0 07-17-2004 09:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:38 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