Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Simply put, how do you determine if AIX 5.3 has PERL installed as non-root?

share|improve this question
3  
Entering the command which perl should point you to the location of the perl binary, if it's installed and in your path. Otherwise, ask the admin. –  SvW Sep 7 '11 at 14:03
    
also look for perl under /usr/local/bin –  jftuga Sep 7 '11 at 14:06
    
Yep, in the AIX 4 system I stil have access to, that's where it is installed. –  SvW Sep 7 '11 at 14:07
    
@SvenW Unfortunately this is one of those situations where root holder is a business manager, not an IT admin sigh. –  hydroparadise Sep 7 '11 at 14:15
add comment

migrated from serverfault.com Sep 7 '11 at 14:53

This question came from our site for professional system and network administrators.

2 Answers

up vote 12 down vote accepted

Try this:

lslpp -l | grep perl
perl -v
share|improve this answer
1  
Using lslpp is the Proper AIX Way to do this, assuming Perl was installed in the Proper AIX Way (using an AIX Package). perl -v will work if perl is on your path, regardless of how it got there :) –  voretaq7 Sep 7 '11 at 14:18
add comment

You could run this command:

find / -name perl -print

This would return any path where perl resides.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.