diff --git a/src/TarArchive.php b/src/TarArchive.php
index <HASH>..<HASH> 100644
--- a/src/TarArchive.php
+++ b/src/TarArchive.php
@@ -401,6 +401,8 @@ class TarArchive extends BasicArchive
      */
     public static function archiveFiles($fileOrFiles, $archiveName, $emulate = false)
     {
+        self::checkRequirements();
+
         if (file_exists($archiveName))
             throw new Exception('Archive '.$archiveName.' already exists!');
Fix archiveFiles of tar archive