Solved

Perl Installation

Posted on 2014-02-14
4
634 Views
Last Modified: 2014-03-15
[root@rhel5 ~]# rpm -qa | grep perl
perl-5.8.8-41.el5
perl-DBI-1.52-2.el5
perl-DBD-Pg-1.49-4.el5_8
[root@rhel5 ~]#
[root@rhel5 ~]#
[root@rhel5 ~]#
[root@rhel5 ~]#
[root@rhel5 ~]# perl -v

This is perl, v5.8.9 built for i386-thread-multi

Copyright 1987-2008, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl".  If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.


I recently installed perl by compiling the source file and is located under the following directory.

[root@rhel5 ~]# cd /usr/local/src/
[root@rhel5 src]# ls
perl-5.8.9  perl-5.8.9.tar  

Actually I created a symbolic link as below for two. one is perl binary and another one is for lib directory.   is that the right way to do?

ln -s /usr/local/perl-5.8.9/bin/perl /usr/bin/perl

ln -s /usr/local/perl-5.8.9/lib /usr/lib/perl5

I need to install some perl module now. Si i went and check what is installed already. I am getting this issue.

[root@rhel5 src]# instmodsh
Available commands are:
   l            - List all installed modules
   m <module>   - Select a module
   q            - Quit the program
cmd? l
Installed modules are:
   Perl
cmd? m perl
Available commands are:
   f [all|prog|doc]   - List installed files of a given type
   d [all|prog|doc]   - List the directories used by a module
   v                  - Validate the .packlist - check for missing files
   t <tarfile>        - Create a tar archive of the module
   h                  - Display module help
   q                  - Quit the module
perl cmd? f
perl is not installed at /usr/bin/instmodsh line 84
perl cmd?
0
Comment
Question by:ittechlab
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 28

Assisted Solution

by:FishMonger
FishMonger earned 500 total points
ID: 39860300
Why did you install such an old version and at that location?  The current version is 5.18.x and is normally installed under /usr/bin/perl or /usr/local/bin
0
 

Author Comment

by:ittechlab
ID: 39860316
it is requirement from app team.
0
 
LVL 28

Accepted Solution

by:
FishMonger earned 500 total points
ID: 39860330
Bad decision by your app team.
0
 
LVL 28

Assisted Solution

by:FishMonger
FishMonger earned 500 total points
ID: 39860450
What is the output of perl -V
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I have been pestered over the years to produce and distribute regular data extracts, and often the request have explicitly requested the data be emailed as an Excel attachement; specifically Excel, as it appears: CSV files confuse (no Red or Green h…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question