• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 238
  • Last Modified:

upgrading perl

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
cwbourne
Asked:
cwbourne
1 Solution
 
jlevieCommented:
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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now