Question

Is there a command to check if apr is already installed in my mac os x? Please if anyone knows how to do it explain it for me. I started to work with command line very recently and I need to learn a lot.

Était-ce utile?

La solution

To find a program in Mac OS X (same for most Linux distribution), in Terminal, use:

which apr

if found, it will display something like /usr/sbin/apr

If not found, it will output nothing.

Note: in Mac OS X, you can use Spotlight to search. Much easier.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top