7-Zip Arrives on Linux: Here’s How to Install It…
7-Zip is a popular file archiver that is widely used across different platforms. This open-source tool provides high compression ratio and strong encryption to protect your files. It has been available on Windows for a long time, but recently it has made its way to Linux.
In this article, we will guide you through the installation process for 7-Zip on Linux.
Step 1: Check your system architecture
Before downloading and installing 7-Zip, it’s important to find out your system architecture. The most common architectures are 32-bit and 64-bit. To check this on Ubuntu, open the Terminal and run the following command:
In this example, the architecture is 64-bit.
Step 2: Download the 7-Zip package
Next, you need to download the 7-Zip package for your Linux distribution. You can get the latest version from the official website https://www.7-zip.org/download.html.
Alternatively, you can use the following command to download the package in the Terminal:
Step 3: Extract the package
Once the package is downloaded, you need to extract it. In the Terminal, run the following command:
tar xvf 7z2103-linux-x64.tar.xz
This will create a new directory called “7z2103” containing the 7-Zip binary files.
Step 4: Add 7-Zip to the system path
In order to use 7-Zip from the Terminal, you need to add it to the system path. This can be done by running the following command:
Replace “/path/to/7z2103/” with the actual path to the extracted directory.
Step 5: Test the installation
You can now test the installation by running “7z” in the Terminal. This should display the 7-Zip help page, showing that 7-Zip has been successfully installed on your Linux system.
With 7-Zip now available on Linux, users can enjoy its powerful compression and encryption features on their preferred operating system. By following the steps outlined in this article, you can easily install 7-Zip on Linux and start using it to compress and archive your files.