The tar executable must be located in the PATH on the system running the script. On UNIX and Linux, tar is typically in the /bin directory. Make sure the tar executable is located in the PATH on the system by running the script.