{"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

Install 7-zip on Ubuntu 20.04 in Two Steps<\/h2>\n\n\n\n

Step 1<\/strong>: Update your Linux system to ensure you have the latest packages.<\/p>\n\n\n\n

$ sudo apt update && sudo apt upgrade<\/code><\/pre>\n\n\n\n

Step 2<\/strong>. Install 7-zip archiver on the Ubuntu<\/a> system.<\/p>\n\n\n\n

$ sudo apt install p7zip-full p7zip-rar<\/code><\/pre>\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

$ 7z<\/code><\/pre>\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

7z <command><\/code><\/pre>\n\n\n\n

This is the list of command options available with 7-zip.<\/p>\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

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

$ 7z a [archive name] [file\/directory]<\/code><\/pre>\n\n\n\n

Unpack a 7zip file:<\/p>\n\n\n\n

$ 7z e [archive name]<\/code><\/pre>\n\n\n\n

View the contents of an archive:<\/p>\n\n\n\n

$ 7z l [archive name]<\/code><\/pre>\n\n\n\n

Conclusion<\/h2>\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":"\nHow to Install 7-zip on Ubuntu 20.04 | Debian<\/title>\n<meta name=\"description\" content=\"This guide shows you how to install 7-zip on Ubuntu 20.04 and Debian based Linux systems on the ternibal with examples\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/local.brightwhiz\/how-to-install-7-zip-on-ubuntu-20-04-debian\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install 7-zip on Ubuntu 20.04 | Debian\" \/>\n<meta property=\"og:description\" content=\"This guide shows you how to install 7-zip on Ubuntu 20.04 and Debian based Linux systems on the ternibal with examples\" \/>\n<meta property=\"og:url\" content=\"http:\/\/local.brightwhiz\/how-to-install-7-zip-on-ubuntu-20-04-debian\/\" \/>\n<meta property=\"og:site_name\" content=\"Brightwhiz.com\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/brightwhiz\/\" \/>\n<meta property=\"article:published_time\" content=\"2022-01-19T21:26:19+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-03-15T02:22:00+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/local.brightwhiz\/wp-content\/uploads\/2022\/01\/install-7-zip-on-ubuntu.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"680\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Michael Bright\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@brightwhizmag\" \/>\n<meta name=\"twitter:site\" content=\"@brightwhizmag\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Michael Bright\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"http:\/\/local.brightwhiz\/how-to-install-7-zip-on-ubuntu-20-04-debian\/#article\",\"isPartOf\":{\"@id\":\"http:\/\/local.brightwhiz\/how-to-install-7-zip-on-ubuntu-20-04-debian\/\"},\"author\":{\"name\":\"Michael Bright\",\"@id\":\"http:\/\/local.brightwhiz\/#\/schema\/person\/81f0f3126f13834ae2e7f381b3028e32\"},\"headline\":\"How to Install 7-zip on Ubuntu 20.04 | Debian\",\"datePublished\":\"2022-01-19T21:26:19+00:00\",\"dateModified\":\"2022-03-15T02:22:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"http:\/\/local.brightwhiz\/how-to-install-7-zip-on-ubuntu-20-04-debian\/\"},\"wordCount\":270,\"commentCount\":0,\"publisher\":{\"@id\":\"http:\/\/local.brightwhiz\/#organization\"},\"image\":{\"@id\":\"http:\/\/local.brightwhiz\/how-to-install-7-zip-on-ubuntu-20-04-debian\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/local.brightwhiz\/wp-content\/uploads\/2022\/01\/install-7-zip-on-ubuntu.jpg\",\"keywords\":[\"Cross Platform\",\"Debian\",\"DevOps\",\"Linux\",\"Open Source\",\"Optimization\",\"Performance\",\"Systems Administration\",\"Tools\",\"Ubuntu\"],\"articleSection\":[\"Articles\",\"Guides\",\"How To\",\"Technology\",\"Tools\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"http:\/\/local.brightwhiz\/how-to-install-7-zip-on-ubuntu-20-04-debian\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"http:\/\/local.brightwhiz\/how-to-install-7-zip-on-ubuntu-20-04-debian\/\",\"url\":\"http:\/\/local.brightwhiz\/how-to-install-7-zip-on-ubuntu-20-04-debian\/\",\"name\":\"How to Install 7-zip on Ubuntu 20.04 | Debian\",\"isPartOf\":{\"@id\":\"http:\/\/local.brightwhiz\/#website\"},\"primaryImageOfPage\":{\"@id\":\"http:\/\/local.brightwhiz\/how-to-install-7-zip-on-ubuntu-20-04-debian\/#primaryimage\"},\"image\":{\"@id\":\"http:\/\/local.brightwhiz\/how-to-install-7-zip-on-ubuntu-20-04-debian\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/local.brightwhiz\/wp-content\/uploads\/2022\/01\/install-7-zip-on-ubuntu.jpg\",\"datePublished\":\"2022-01-19T21:26:19+00:00\",\"dateModified\":\"2022-03-15T02:22:00+00:00\",\"description\":\"This guide shows you how to install 7-zip on Ubuntu 20.04 and Debian based Linux systems on the ternibal with examples\",\"breadcrumb\":{\"@id\":\"http:\/\/local.brightwhiz\/how-to-install-7-zip-on-ubuntu-20-04-debian\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/local.brightwhiz\/how-to-install-7-zip-on-ubuntu-20-04-debian\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/local.brightwhiz\/how-to-install-7-zip-on-ubuntu-20-04-debian\/#primaryimage\",\"url\":\"http:\/\/local.brightwhiz\/wp-content\/uploads\/2022\/01\/install-7-zip-on-ubuntu.jpg\",\"contentUrl\":\"http:\/\/local.brightwhiz\/wp-content\/uploads\/2022\/01\/install-7-zip-on-ubuntu.jpg\",\"width\":1280,\"height\":680,\"caption\":\"Install 7-zip on Ubuntu 20.04\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\/\/local.brightwhiz\/how-to-install-7-zip-on-ubuntu-20-04-debian\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"http:\/\/local.brightwhiz\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install 7-zip on Ubuntu 20.04 | Debian\"}]},{\"@type\":\"WebSite\",\"@id\":\"http:\/\/local.brightwhiz\/#website\",\"url\":\"http:\/\/local.brightwhiz\/\",\"name\":\"Brightwhiz.com\",\"description\":\"Best Tech guides, Tutorials, and News\",\"publisher\":{\"@id\":\"http:\/\/local.brightwhiz\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\/\/local.brightwhiz\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"http:\/\/local.brightwhiz\/#organization\",\"name\":\"Brightwhiz\",\"url\":\"http:\/\/local.brightwhiz\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/local.brightwhiz\/#\/schema\/logo\/image\/\",\"url\":\"http:\/\/local.brightwhiz\/wp-content\/uploads\/2021\/11\/brightwhiz-com-logo-orange.png\",\"contentUrl\":\"http:\/\/local.brightwhiz\/wp-content\/uploads\/2021\/11\/brightwhiz-com-logo-orange.png\",\"width\":706,\"height\":135,\"caption\":\"Brightwhiz\"},\"image\":{\"@id\":\"http:\/\/local.brightwhiz\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/brightwhiz\/\",\"https:\/\/x.com\/brightwhizmag\",\"https:\/\/instagram.com\/bright_whiz\/\",\"https:\/\/www.pinterest.com\/sobbayi\/\",\"https:\/\/www.youtube.com\/channel\/UC6sCdP_d_RiTIM7ErFT-PSQ\"]},{\"@type\":\"Person\",\"@id\":\"http:\/\/local.brightwhiz\/#\/schema\/person\/81f0f3126f13834ae2e7f381b3028e32\",\"name\":\"Michael Bright\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/local.brightwhiz\/#\/schema\/person\/image\/\",\"url\":\"http:\/\/1.gravatar.com\/avatar\/da90485875ff0aafa38fdd494abe87d1?s=96&d=mm&r=g\",\"contentUrl\":\"http:\/\/1.gravatar.com\/avatar\/da90485875ff0aafa38fdd494abe87d1?s=96&d=mm&r=g\",\"caption\":\"Michael Bright\"},\"sameAs\":[\"https:\/\/sobbayi.com\"],\"url\":\"http:\/\/local.brightwhiz\/author\/sobbayiadmin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Install 7-zip on Ubuntu 20.04 | Debian","description":"This guide shows you how to install 7-zip on Ubuntu 20.04 and Debian based Linux systems on the ternibal with examples","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"http:\/\/local.brightwhiz\/how-to-install-7-zip-on-ubuntu-20-04-debian\/","og_locale":"en_US","og_type":"article","og_title":"How to Install 7-zip on Ubuntu 20.04 | Debian","og_description":"This guide shows you how to install 7-zip on Ubuntu 20.04 and Debian based Linux systems on the ternibal with examples","og_url":"http:\/\/local.brightwhiz\/how-to-install-7-zip-on-ubuntu-20-04-debian\/","og_site_name":"Brightwhiz.com","article_publisher":"https:\/\/www.facebook.com\/brightwhiz\/","article_published_time":"2022-01-19T21:26:19+00:00","article_modified_time":"2022-03-15T02:22:00+00:00","og_image":[{"width":1280,"height":680,"url":"http:\/\/local.brightwhiz\/wp-content\/uploads\/2022\/01\/install-7-zip-on-ubuntu.jpg","type":"image\/jpeg"}],"author":"Michael Bright","twitter_card":"summary_large_image","twitter_creator":"@brightwhizmag","twitter_site":"@brightwhizmag","twitter_misc":{"Written by":"Michael Bright","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"http:\/\/local.brightwhiz\/how-to-install-7-zip-on-ubuntu-20-04-debian\/#article","isPartOf":{"@id":"http:\/\/local.brightwhiz\/how-to-install-7-zip-on-ubuntu-20-04-debian\/"},"author":{"name":"Michael Bright","@id":"http:\/\/local.brightwhiz\/#\/schema\/person\/81f0f3126f13834ae2e7f381b3028e32"},"headline":"How to Install 7-zip on Ubuntu 20.04 | Debian","datePublished":"2022-01-19T21:26:19+00:00","dateModified":"2022-03-15T02:22:00+00:00","mainEntityOfPage":{"@id":"http:\/\/local.brightwhiz\/how-to-install-7-zip-on-ubuntu-20-04-debian\/"},"wordCount":270,"commentCount":0,"publisher":{"@id":"http:\/\/local.brightwhiz\/#organization"},"image":{"@id":"http:\/\/local.brightwhiz\/how-to-install-7-zip-on-ubuntu-20-04-debian\/#primaryimage"},"thumbnailUrl":"http:\/\/local.brightwhiz\/wp-content\/uploads\/2022\/01\/install-7-zip-on-ubuntu.jpg","keywords":["Cross Platform","Debian","DevOps","Linux","Open Source","Optimization","Performance","Systems Administration","Tools","Ubuntu"],"articleSection":["Articles","Guides","How To","Technology","Tools"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["http:\/\/local.brightwhiz\/how-to-install-7-zip-on-ubuntu-20-04-debian\/#respond"]}]},{"@type":"WebPage","@id":"http:\/\/local.brightwhiz\/how-to-install-7-zip-on-ubuntu-20-04-debian\/","url":"http:\/\/local.brightwhiz\/how-to-install-7-zip-on-ubuntu-20-04-debian\/","name":"How to Install 7-zip on Ubuntu 20.04 | Debian","isPartOf":{"@id":"http:\/\/local.brightwhiz\/#website"},"primaryImageOfPage":{"@id":"http:\/\/local.brightwhiz\/how-to-install-7-zip-on-ubuntu-20-04-debian\/#primaryimage"},"image":{"@id":"http:\/\/local.brightwhiz\/how-to-install-7-zip-on-ubuntu-20-04-debian\/#primaryimage"},"thumbnailUrl":"http:\/\/local.brightwhiz\/wp-content\/uploads\/2022\/01\/install-7-zip-on-ubuntu.jpg","datePublished":"2022-01-19T21:26:19+00:00","dateModified":"2022-03-15T02:22:00+00:00","description":"This guide shows you how to install 7-zip on Ubuntu 20.04 and Debian based Linux systems on the ternibal with examples","breadcrumb":{"@id":"http:\/\/local.brightwhiz\/how-to-install-7-zip-on-ubuntu-20-04-debian\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["http:\/\/local.brightwhiz\/how-to-install-7-zip-on-ubuntu-20-04-debian\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/local.brightwhiz\/how-to-install-7-zip-on-ubuntu-20-04-debian\/#primaryimage","url":"http:\/\/local.brightwhiz\/wp-content\/uploads\/2022\/01\/install-7-zip-on-ubuntu.jpg","contentUrl":"http:\/\/local.brightwhiz\/wp-content\/uploads\/2022\/01\/install-7-zip-on-ubuntu.jpg","width":1280,"height":680,"caption":"Install 7-zip on Ubuntu 20.04"},{"@type":"BreadcrumbList","@id":"http:\/\/local.brightwhiz\/how-to-install-7-zip-on-ubuntu-20-04-debian\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"http:\/\/local.brightwhiz\/"},{"@type":"ListItem","position":2,"name":"How to Install 7-zip on Ubuntu 20.04 | Debian"}]},{"@type":"WebSite","@id":"http:\/\/local.brightwhiz\/#website","url":"http:\/\/local.brightwhiz\/","name":"Brightwhiz.com","description":"Best Tech guides, Tutorials, and News","publisher":{"@id":"http:\/\/local.brightwhiz\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/local.brightwhiz\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"http:\/\/local.brightwhiz\/#organization","name":"Brightwhiz","url":"http:\/\/local.brightwhiz\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/local.brightwhiz\/#\/schema\/logo\/image\/","url":"http:\/\/local.brightwhiz\/wp-content\/uploads\/2021\/11\/brightwhiz-com-logo-orange.png","contentUrl":"http:\/\/local.brightwhiz\/wp-content\/uploads\/2021\/11\/brightwhiz-com-logo-orange.png","width":706,"height":135,"caption":"Brightwhiz"},"image":{"@id":"http:\/\/local.brightwhiz\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/brightwhiz\/","https:\/\/x.com\/brightwhizmag","https:\/\/instagram.com\/bright_whiz\/","https:\/\/www.pinterest.com\/sobbayi\/","https:\/\/www.youtube.com\/channel\/UC6sCdP_d_RiTIM7ErFT-PSQ"]},{"@type":"Person","@id":"http:\/\/local.brightwhiz\/#\/schema\/person\/81f0f3126f13834ae2e7f381b3028e32","name":"Michael Bright","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/local.brightwhiz\/#\/schema\/person\/image\/","url":"http:\/\/1.gravatar.com\/avatar\/da90485875ff0aafa38fdd494abe87d1?s=96&d=mm&r=g","contentUrl":"http:\/\/1.gravatar.com\/avatar\/da90485875ff0aafa38fdd494abe87d1?s=96&d=mm&r=g","caption":"Michael Bright"},"sameAs":["https:\/\/sobbayi.com"],"url":"http:\/\/local.brightwhiz\/author\/sobbayiadmin\/"}]}},"_links":{"self":[{"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/posts\/11675"}],"collection":[{"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/comments?post=11675"}],"version-history":[{"count":0,"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/posts\/11675\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/media\/11677"}],"wp:attachment":[{"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/media?parent=11675"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/categories?post=11675"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/tags?post=11675"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}