1. Linux

1.1. Installation

  • Enter the following commands at a Command Line.

    sudo apt-get install p7zip p7zip-full

2. Windows

2.1. Installation

  • 64-bit: Run the 7z2600-x64.msi file.

  • Click Next.

  • Check I accept the terms in the License Agreement.

  • Click Next.

    C:\Program Files\7-Zip
  • Click Next.

  • Click Install.

  • Click Finish.

2.2. Configuration

  • Log on as <User>.

  • Start 7-Zip File Manager.

  • Select Tools > Options.

  • Select the System tab.

  • Click the + button to associate 7-Zip for all file types for <User>.

  • Click Apply.

  • Optional: Select the Editor tab.

    • Click the Editor | …​ button.

    • Select the C:\Program Files (x86)\Vim\vim81\gvim.exe file.

    • Click Open.

    • Click Apply.

  • Click OK.

  • Close 7-Zip File Manager.

2.3. Command line usage

  • Enter the following commands at a Command Line.

    cd C:\Program Files\7-Zip
    rem Add a folder to a .zip archive.
    7z.exe a -tzip D:\Foo.zip D:\Foo

2.4. File and folder encryption