The popular file archiving program 7-Zip has been released for the Linux operating system. Here's how to install it.
7-Zip is a popular file archiver that offers high compression rates with LZMA, LZMA2 and the new 7z format for compression. It is widespread among users of the Windows operating systems, which makes its use widespread.
However, until recently there was no official version of 7-Zip for Linux. The 21.01 alpha version of 7-Zip is now released for the Linux operating system. This article explains how to install 7-Zip on any Linux distribution.
How to install 7-Zip on Linux
You can now install the 7-Zip package on your Linux computer without resorting to third-party forks. Just download the 7-Zip binary and move it to the appropriate path on your system.
Enter the above command into your terminal to get the command tar Archive file for the 7-zip binary file. If you haven't wget Use the Curls Command instead.
curl -O https://www.7-zip.org/a/7z2101-linux-x64.tar.xz
When the download is complete, proceed to extract the archive. You can open the downloaded file with the following command.
tar xf 7z2101-linux-x64.tar.xz
When you unzip the tar file, you will get the named 7-zip binary file 7zz. You can now run 7-zip on Linux with the following command.
You will need to enter the full path to this binary when using 7zip from another working directory. Add the binary to your / usr / local / bin Directory to work around this problem.
mv 7zz / usr / local / bin
Now you can use the 7-Zip to access it from anywhere in the file system 7zz Command.
7-Zip vs. p7zip: which one should I use?
p7zip, a reliable 7-zip port, is available in many popular Linux distributions. The p7zip utility provides many 7zip-specific functions related to file compression and archiving. While p7zip isn't heavily maintained, it still performs great on Linux-based operating systems.
You can use any of these tools to compress and decompress 7z format files. We recommend you try the new 7-Zip version as it is official. It will also be easier to track bugs and get help from the developers in case you run into problems.
Handling 7-Zip archives on Linux
The official release of 7-Zip for Linux made managing 7z archives easier than ever. Users who constantly work with compressed files can now use this tool to effortlessly manage their archives.
There are many compression formats that Linux supports, including the gz Format. If you have one gz Instead, you can unzip the file on your system using the terminal or a GUI app.
What is a GZ file and how do you unzip it?
Found a GZ file on your computer but can't open it? How to extract the file contents on Windows, macOS and Linux.
About the author
(16 articles published)
Rubaiat is a CS graduate with a strong passion for open source. As well as being a Unix veteran, he's also been into network security, cryptography, and functional programming. He is an avid collector of used books and has an endless admiration for classic rock.
By Rubaiat Hossain
Subscribe to our newsletter
Sign up for our newsletter to receive tech tips, reviews, free e-books, and exclusive offers!
One more step …!
Please confirm your email address in the email we just sent you.