In this tutorial, we can learn how to create and extract archives in Ubuntu. actually, the zip is one of the compression methods, not a technology. You don’t any additional Softwares to do this. Please read this post if you need to install any software.

Creating an Archive

  • select required files
  • Right click and choose compress

crating an archive
creating an archive

there is options/compression-methods are available to create an archive.

ZIP– the universal archive

ZIP is an archive file format that supports lossless data compression. A ZIP file may contain one or more files or directories that may have been compressed. The ZIP file format permits a number of compression algorithms, though DEFLATE is the most common

tar.gz – high compression ratio, but incompatible with windows.

In computing, tar is a computer software utility for collecting many files into one archive file, often referred to as a tarball, for distribution or backup purposes. The name is derived from “tape archive”, as it was originally developed to write data to sequential I/O devices with no file system of their own. The archive data sets created by tar contain various file system parameters, such as name, timestamps, ownership, file access permissions, and directory organization

7z – needs additional software on Mac and Windows

7-Zip is a free and open-source file archiver, a utility used to place groups of files within compressed containers known as “archives”. It is developed by Igor Pavlov and was first released in 1999. 7-Zip uses its own 7z archive format, but can read and write several other archive formats. 

you can use one of those option according to your requirements, tar.gz offers high compression ratio.

Extracting an Archive

Extracting an archive is easier than you think. we have to options available in ubuntu. you can extract the archive on the same location or extract it to a different location. these options can be chosen from the right-click menu.

Just right click and choose extract files here!

extract an archive
extract an archive

this is how we Create and extract zip or archives In Linux. The best thing in Ubuntu while working with archives is we don’t need any additional software to perform this action.

Leave a Reply

Your email address will not be published. Required fields are marked *