Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

share|improve this question

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

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

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. – Sven 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. – Sven 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
up vote 12 down vote accepted

Try this:

lslpp -l | grep perl
perl -v
share|improve this answer
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

You could run this command:

find / -name perl -print

This would return any path where perl resides.

share|improve this answer

Your Answer


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.