{"id":11675,"date":"2022-01-19T16:26:19","date_gmt":"2022-01-19T21:26:19","guid":{"rendered":"http:\/\/local.brightwhiz\/?p=11675"},"modified":"2022-03-14T22:22:00","modified_gmt":"2022-03-15T02:22:00","slug":"how-to-install-7-zip-on-ubuntu-20-04-debian","status":"publish","type":"post","link":"http:\/\/local.brightwhiz\/how-to-install-7-zip-on-ubuntu-20-04-debian\/","title":{"rendered":"How to Install 7-zip on Ubuntu 20.04 | Debian"},"content":{"rendered":"\n
In this tutorial, we will be showing you how to install 7-zip on Ubuntu 20.04 and Debian-based Linux<\/a> systems. To perform the actions in this guide you will need to make sure you are logged in as a user with sudo privileges.<\/p>\n\n\n\n 7-Zip is a free, cross-platform, and open-source software used for packing and unpacking files and folders into a variety of formats. These include 7z, XZ, BZIP2, GZIP, TAR, ZIP, and WIM. The following file formats are only supported for unpacking; AR, ARJ, CAB, CHM, CPIO, CramFS, DMG, EXT, FAT, GPT, HFS, IHEX, ISO, LZH, LZMA, MBR, MSI, NSIS, NTFS, QCOW2, RAR, RPM, SquashFS, UDF, UEFI, VDI, VHD, VHDX, VMDK, WIM, XAR, and Z.<\/p>\n\n\n\n 7-Zip comes with a high compression ratio in 7z format with LZMA and LZMA2 compression algorithms.<\/p>\n\n\n\n Step 1<\/strong>: Update your Linux system to ensure you have the latest packages.<\/p>\n\n\n\n Step 2<\/strong>. Install 7-zip archiver on the Ubuntu<\/a> system.<\/p>\n\n\n\n Use this command to confirm the successful installation, to see the list of commands and options.<\/p>\n\n\n\n How to Use 7-zip on Ubuntu and Debian Based Systems<\/p>\n\n\n\n The syntax for running commands in 7-zip is as follows:<\/p>\n\n\n\n This is the list of command options available with 7-zip.<\/p>\n\n\n\n Examples of 7-zip Commands syntax are shown below:<\/p>\n\n\n\n Create and add files to an archive:<\/p>\n\n\n\n Unpack a 7zip file:<\/p>\n\n\n\n View the contents of an archive:<\/p>\n\n\n\n We have shown you how to install 7-zip on Ubuntu 20.04 and now you should be able to compress and decompress files using the 7-zip utility. More details about the utility can be found here<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":" In this tutorial, we will be showing you how to install 7-zip on Ubuntu 20.04 and Debian-based Linux systems. To perform the actions in this guide you will need to…<\/p>\n","protected":false},"author":1,"featured_media":11677,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,23,9,16,18],"tags":[164,183,193,354,424,433,449,573,591,598],"yoast_head":"\nInstall 7-zip on Ubuntu 20.04 in Two Steps<\/h2>\n\n\n\n
$ sudo apt update && sudo apt upgrade<\/code><\/pre>\n\n\n\n
$ sudo apt install p7zip-full p7zip-rar<\/code><\/pre>\n\n\n\n
$ 7z<\/code><\/pre>\n\n\n\n
7z <command><\/code><\/pre>\n\n\n\n
b : Benchmark\nd : Delete files from archive\ne : Extract files from archive (without using directory names)\nh : Calculate hash values for files\ni : Show information about supported formats\nl : List contents of archive\nrn : Rename files in archive\nt : Test integrity of archive\nu : Update files to archive\nx : eXtract files with full paths<\/code><\/pre>\n\n\n\n
$ 7z a [archive name] [file\/directory]<\/code><\/pre>\n\n\n\n
$ 7z e [archive name]<\/code><\/pre>\n\n\n\n
$ 7z l [archive name]<\/code><\/pre>\n\n\n\n
Conclusion<\/h2>\n\n\n\n