?
Solved

upgrading perl

Posted on 2001-07-31
1
Medium Priority
?
234 Views
Last Modified: 2013-11-13
I have just downloaded the latest version of perl and am unsure of how to install it. COuld someone please list the steps to perform the upgrade. I am using RH6.1
Thanks
0
Comment
Question by:cwbourne
[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
1 Comment
 
LVL 40

Accepted Solution

by:
jlevie earned 600 total points
ID: 6337454
You got the sources, right? In that case what you need to do is to unpack it, change to the resulting directory, run configure, and then build & install it. The INSTALL file in the distribution contains the steps that need to be do to configure, build & install it and they are:

chaos> tar xvzof stable.tar.gz
chaos> cd perl-5.6.1
chaos> rm -f config.sh Policy.sh
chaos> sh Configure -de
chaos> make
chaos> make test
chaos> su
Password:
chaos# make install

That will install perl into /usr/local/, which is good since that won't interfere with the RedHat copy and invalidate the RPM database or dependancies. To use the later version of perl you'll need to adjust your PATH so that /usr/local/bin/is searched before /usr/bin.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

With User Account Control (UAC) enabled in Windows 7, one needs to open an elevated Command Prompt in order to run scripts under administrative privileges. Although the elevated Command Prompt accomplishes the task, the question How to run as script…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses
Course of the Month15 days, 8 hours left to enroll

741 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