In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article will explain in detail how to use 7Zip on Ubuntu and other Linux distributions. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.
7Zip (or, more appropriately, 7-Zip) is a popular archive format among Windows users. A 7Zip archive file usually ends with a .7z extension. It is mostly open source, except that it contains a small amount of code that unzips rar files.
By default, most Linux distributions do not support 7Zip. If you try to extract it, you will see this error:
Cannot open this file type
There are no installed commands for 7-zip archive files. Do you want to search for a command to open this file?
Don't worry, you can easily install 7zip in Ubuntu and other Linux distributions.
One problem is that you will notice that if you try to use the apt-get install command, you will find that there are no candidate installations that start with 7zip. Because the name of the 7Zip package in Linux is p7zip. Start with the letter "p" instead of the expected number "7".
Let's look at how to install 7zip in Ubuntu and other Linux distributions.
Install 7Zip in Ubuntu Linux
The only thing you need to do is install the p7zip package. You will find three packages in Ubuntu: p7zip, p7zip-full and pzip-rar.
The difference between pzip and p7zip-full is that pzip is a lightweight version that only supports .7z files, while p7zip-full provides more 7z compression algorithms (such as audio files).
The p7zip-rar package provides support for RAR files in 7z
Installing p7zip-full is sufficient in most cases, but you may want to install p7zip-rar to support the extraction of rar files.
The p7zip package is in Ubuntu's universe repository, so make sure you can use the following command:
Sudo add-apt-repository universesudo apt update
Use the following command in Ubuntu and Debian-based distributions.
Sudo apt install p7zip-full p7zip-rar
That's good. Now you have 7zip archiving support in your system.
Extract 7Zip archive files in Linux
After installing 7Zip, you can extract the 7zip file from the graphical user interface or from the command line in Linux.
In the graphical user interface, you can extract .7z files just like other compressed files. Right-click the file to extract it.
In the terminal, you can extract the .7z archive using the following command:
7z e file.7z compressed files in Linux into 7zip archive format
You can compress files into 7zip archive format in the graphical interface. Simply right-click on the file or directory and select "compress". You should see several types of file format options. Select .7z.
7zip Archive Ubuntu
As an alternative, you can also use it on the command line. Here are the commands you can use to compress:
7z an output file name file to be compressed
By default, archive files have a .7z extension. You can compress it to zip format by specifying the output file extension .zip.
This is the end of this article on "how to use 7Zip on Ubuntu and other Linux distributions". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.