4

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

4
  • 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, 2011 at 14:03
  • also look for perl under /usr/local/bin
    – jftuga
    Sep 7, 2011 at 14:06
  • Yep, in the AIX 4 system I stil have access to, that's where it is installed.
    – Sven
    Sep 7, 2011 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, 2011 at 14:15

2 Answers 2

12

Try this:

lslpp -l | grep perl
perl -v
1
  • 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, 2011 at 14:18
4

You could run this command:

find / -name perl -print

This would return any path where perl resides.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .