I am running the latest version of OJS 22.214.171.124 by MAMP, I am trying to install plugins, but when trying to install something there is no item message installed and going into administration I get the following notification: The tar command is not available. Please configure it correctly in your “config.inc.php”.
In your OJS document root, which is probably MAMP/htdocs, you will find a file ‘config.inc.php’. There is a line which starts with tar =. This line needs to reflect the path to the tar executable.
I’m not familiar with where the tar command lives on Mac OSX. If you are able to run the Terminal application, you can type in a command to find the tar command, either which or whereis. For example, you might see something like:
$ which tar
In this case, you would change the line in config.inc.php to: