If you are reading this article,so it seems that you are getting this error during installation of new plugin in WordPress.

Error: Installation failed The package could not be installed. PCLZIP_ERR_MISSING_FILE (-4)

Solution: Go to WordPress installation directory and inside of wp-content create a directory tmp

After that edit wp-config.php page and search for below line/entry

/** Absolute path to the WordPress directory. */
 if ( ! defined( 'ABSPATH' ) ) {
     define( 'ABSPATH', DIR . '/' );}

After this line add below code and save it.

define('WP_TEMP_DIR', ABSPATH . 'wp-content/tmp');

After saving this please install plugin, you wouldn’t get this error message.