Solved

upgrading perl

Posted on 2001-07-31
1
230 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
AWS - HAProxy- KeepAlived 5 41
Backup & Restore 3 54
how to rebuild XFS volume from LV 19 62
What is linux 4.8.22? Is it the same as ubuntu 16.10 ?? 2 39
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 how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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.

775 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