7zip is a free and open-source software used to compress and uncompress files and is one of the more popular compression tools that use 7z file format. This tool can read and write to other file formats. In this article, we will teach you how to install 7zip on AlmaLinux and Rocky Linux. You can visit the packages available in Eldernode if you wish to purchase a Linux VPS server.
Tutorial Install 7zip on AlmaLinux and Rocky Linux
7zip is a compressed archive format that has a higher speed than other types of compression formats and was ranked first in an experiment conducted between different types of compression formats.
- Has self-extracting capability for 7z file format
- Has a compression ratio of about 2-10% better than other
- similar tools
- Supports 87 languages
- Use strong AES-256 encryption
Install 7zip on AlmaLinux and Rocky Linux 8
7zip is not enabled by default on most Linux distributions. The 7zip package in Linux distributions is called p7zip. So there is no installation candidate to start with 7zip.
There are three 7zip packages: p7zip, p7zip-full and p7zip-rar. The p7zip-rar package supports RAR files along with 7z. Installing p7zip-full is sufficient in most cases, but you can also install p7zip-rar to further support the rar file.
You should update your system:
sudo apt-get update
There are two types of p7zip packages: p7zip and p7zip-full. The p7zip package includes 7zip. Installing p7zip-full creates an automatically extractable archive with other archiving options. To do this, run the following command:
sudo apt-get install p7zip-full p7zip-rar
You can check whether the package is properly installed or not:
Now you should select any file to make a compressed file by using 7zip. You need to the following command to show the list of all files and folders of the current directory:
You can create a compressed file with the help of the following command. Option a in the command is for compression.
7z a data.7z data.txt
Now the following command to display a list of detailed information of each archive file:
7z l data.7z
In this step, you need to extract the files and folders:
7z e data.7z
This article taught you how to install 7zip on AlmaLinux 8 and Rocky Linux 8. 7zip archiver is an efficient tool for compressing and decompressing essential files and folders, and it can be used to transfer large amounts of data.