Sometimes when we try to upload a theme zip package via WordPress admin panel, it will fail to upload slapping an error message „theme install failed“.
This tutorial will work for plugin upload too.
Note – We have utilized WinRar (free version) to zip/unzip files. If you don’t have this software, download and install it for free. It will not take more than a few seconds to download and install this small software.