docs: public static boolean curlAndExtractPackage(
        String workingDirectory,
        String packageURI,
        String packageDestination,
        boolean isDeletePackage,
        boolean isVerbose) {
      // curl the package to the working directory and extract it
      LOG.log(Level.FINE, "Fetching package {0}", packageURI);
      LOG.fine("Fetched package can overwrite old one.");
      if (!ShellUtils.curlPackage(
          packageURI, packageDestination, isVerbose, false)) {
        LOG.severe("Failed to fetch package.");
        return false;
      }
  
      // untar the heron core release package in the working directory
      LOG.log(Level.FINE, "Extracting the package {0}", packageURI);
      if (!ShellUtils.extractPackage(
          packageDestination, workingDirectory, isVerbose, false)) {
        LOG.severe("Failed to extract package.");
        return false;
      }
  
      // remove the core release package
      if (isDeletePackage && !FileUtils.deleteFile(packageDestination)) {
        LOG.warning("Failed to delete the package: " + packageDestination);
      }
  
      return true;
    }