shell tar gz file code example Example 1: install from tar gz file unix tar -xzvf filename.tar.gz Example 2: come aprire file tar.gz linux tar -xvf archive.tar.gz