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
Solved

upgrading perl

Posted on 2001-07-31
1
231 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
wifi not working on Raspberry Pi 3? 2 77
ftp to port 21 4 53
CENTOS DHCP Server / PXE/TFTP 14 153
VB.NET Application Installation with sqlserver 8 28
If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
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…
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.:

809 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