Advance

How to Install 7zip on AlmaLinux and Rocky Linux

How to Install 7zip on AlmaLinux and Rocky Linux

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.

7zip Features:

  • 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:

7z

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:

ls -la

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

Conclusion

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.

View More Posts
Tom Veitch
Eldernode Writer
We Are Waiting for your valuable comments and you can be sure that it will be answered in the shortest possible time.

    Leave Your Comment

    Your email address will not be published.

    We are by your side every step of the way

    Think about developing your online business; We will protect it compassionately

    We are by your side every step of the way

    +8595670151

    7 days a week, 24 hours a day