Questions tagged [7zip]

For questions relating to the installation of or use of the 7zip program, provided by the p7zip-full package. 7zip is a file archiving application able to compress to and extract a variety of formats.

7zip is a file archiving application licensed under the GNU LGPL. It is used to archive or compress multiple files and directories into single files, and to uncompress and extract such archives. It is not installed by default in Ubuntu, but the package that provides it, p7zip-full, is available in repositories. Use this tag for questions about installing or using 7zip.

7zip can create and extract archives in these formats: 7z (default), XZ, BZIP2, GZIP, TAR, ZIP and WIM. It can extract many other formats including CPIO, ISO, RPM and SquashFS.

The utilities provided by 7zip can be accessed with the 7z command


7zip website

7z man page

91 questions
415
votes
9 answers

How can I uncompress a *.7z file?

How can I uncompress a *.7z file in Ubuntu and keep the directory structure?
michael
  • 6,259
129
votes
3 answers

how to extract tar.7z files from command line?

Is there a way to extract files of tar.7z format using command line tools in Ubuntu?
88
votes
3 answers

How to install 7zip to extract rar files

How do I install 7zip through Terminal to extract rar files?
narottam
  • 899
  • 1
  • 6
  • 3
39
votes
3 answers

How to extract files from a split 7zip archive?

I downloaded a series of packages that all compress one thing. The files end in .0, .1, .2, etc. The User Lists of these packages I downloaded say to use the file.bat to successfully extract, or to use 7zip. I do not understand how to do that with…
Eugenio
  • 391
  • 1
  • 3
  • 3
38
votes
1 answer

7z command line with highest encryption: AES-256 + Encrypting the Filenames

I had a question. Im trying to backup and encrypt files, but using the more recent aes256 or aes512 encryption. 1) I heard 7z defaults to aes128, I want to use the best one (aes256... i think?), how do i do it? Here is my command: cd…
28
votes
4 answers

How do I create tar.7z file from the command line?

I would like to zip up my homework from last year. How do I tar and zip the whole folder from command line Ubuntu (I don't have GUI).
21
votes
1 answer

7z "ultra" settings for zip format

7z "ultra" settings for .7z format are: 7z a -t7z -m0=lzma -mx=9 -mfb=64 -md=32m -ms=on What are the "ultra" settings for .zip format (using 7z)?
ᴜsᴇʀ
  • 534
18
votes
2 answers

How to set 7z compression level using GUI in Ubuntu?

Archive Manager, or file-roller, doesn't seem to have the option to set the compression level for 7z files. However, the windows client 7-zip has an option to do so using GUI - On Ubuntu/Linux, one can set the compression level in the command…
17
votes
3 answers

7zip destination folder -o

I have wondered a long time how to do this and read already many manuals but dont get this to work. I want to zip with 7zip a folder to specific destination. There is in manual a guide to use -o{folder} but how does it really work? Example: 7z a…
Pixeli
  • 171
16
votes
5 answers

What is a Linux equivalent to pkzip or winzip or the GUI version of 7zip?

GUI-based applications like PKZIP and winzip (and the GUI version of 7z/7zip) let us browse around our directories and create a compressed file that contains lots of different directories and files, complete with [partial or full] paths. What is the…
honestann
  • 843
15
votes
6 answers

What is the difference between different "compression" systems?

I've always used TAR and ZIP for compression, but recently I have heard about the *.Z compression algorithm. This brought up a question for me: With all of these compression systems, which one is best for general use and compression? Running a few…
Kaz Wolfe
  • 34,680
14
votes
4 answers

Failing to unrar files

I'm sorry to ask this, but all of the questions along similar lines I could find have been answered by installing unrar/7zip. So, I received a book in the form of a .rar archive of jpegs. Initially, I tried to uncompress with 7zip from terminal. …
Shopin
  • 141
12
votes
2 answers

Is it possible to convert 7z to tar directly?

I have a .7z file containing ~360,000 images in multiple directories. I'd like to convert it to a .tar so that I can open it in another computer. Is there a better way than extracting it to files and compressing them again? Is it possible to do the…
12
votes
1 answer

Difference between several command-line tools provided for 7-Zip compression (like `7z`, `7zz`...)

When I search for 7zip in Ubuntu 23.04 packages, I find several results. For example, package p7zip-full contains the /usr/bin/7z executable, while package 7zip contains the /usr/bin/7zz executable. Version of 7z (in p7zip-full) is: 7-Zip [64]…
FedKad
  • 13,420
11
votes
3 answers

How to extract files from a split 7zip archive ended by .001 and .002?

I have two files data.7z.001 and data.7z.002. l tried to extract them using : 7z e asdf data.7z.001 l got this error 7-Zip [64] 9.20 Copyright (c) 1999-2010 Igor Pavlov 2010-11-18 p7zip Version 9.20…
heisen
  • 111
1
2 3 4 5 6 7