Solved

upgrading perl

Posted on 2001-07-31
1
228 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
1 Comment
 
LVL 40

Accepted Solution

by:
jlevie earned 150 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

I have been scripting applications way too long and can never remember how to create an ISS file.  So I decided to write this article to act as my own knowledge base for future reference, and hope you will also benefit. An ISS file is a response …
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

863 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

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now