- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Perl64 installed, but old version still recognized...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2004 04:30 PM
12-15-2004 04:30 PM
# perl -v
The old version 5.6.1 shows up instead of the new one. Would removing all the old references to the old version in the /etc/PATH file do what I need? Help a noob out please. :)
Solved! Go to Solution.
- Tags:
- Perl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2004 04:41 PM
12-15-2004 04:41 PM
Re: Perl64 installed, but old version still recognized..
PATH
SHLIB_PATH
More than likely when you go perl -v the search path is finding the older version first.
Simply installing Merijn's program does not make the old one go away.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2004 10:04 PM
12-15-2004 10:04 PM
SolutionCould be the PATH variable is being set in the users $HOME/.profile.
check the output from
# env
# whereis perl
# whence perl
or add the /opt/perl64/bin in the beginning of your PATH variable.
Hope this helps,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2004 10:13 PM
12-15-2004 10:13 PM
Re: Perl64 installed, but old version still recognized..
# export PATH=/opt/perl64/bin:$PATH
BTW why 5.8.4 and not 5.8.5 or 5.8.6?
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2004 03:08 AM
12-16-2004 03:08 AM
Re: Perl64 installed, but old version still recognized..
/root
# ll /usr/bin/perl
lrwxr-xr-x 1 root sys 18 Aug 24 14:52 /usr/bin/perl -> /opt/perl/bin/perl
/root
# ln -s /opt/perl64/bin/perl /usr/bin/perl64
/root
# perl64 -v
This is perl, v5.8.5 built for PA-RISC2.0-LP64
(with 1 registered patch, see perl -V for more detail)
Copyright 1987-2004, Larry Wall
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using `man perl' or `perldoc perl'. If you have access to the
Internet, point your browser at http://www.perl.com/, the Perl Home Page.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2004 03:10 AM
12-16-2004 03:10 AM
Re: Perl64 installed, but old version still recognized..
#perl -v
It tells me I have perl 5.8.5 installed. I know I clicked the link for the 5.8.4. Oh well, it works out anyway. :D
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2004 03:26 AM
12-16-2004 03:26 AM
Re: Perl64 installed, but old version still recognized..
Whatever, happy to see it works!
Enjoy, Have FUN! H.Merijn