4

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

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

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

  • 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. – 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
12

Try this:

lslpp -l | grep perl
perl -v
  • 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
4

You could run this command:

find / -name perl -print

This would return any path where perl resides.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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