Fix Thereisnocommandinstalledfor7-ziparchivefiles in Linux

Source: Internet
Author: User
Question: I tried to install the emeraldtu topic in ubuntu, and the topic was packaged into the .7z archive package. As in the past, I tried to extract it by right-clicking in the GUI and selecting & ldquo; here & rdquo. However, Ubuntu15.04 did not decompress the file and replaced it with the following error message: Couldnotopenthisfile cannot open the file Thereisnocommand.

I tried to install the emeraldtu topic in ubuntu, and the topic was packaged into the .7z archive package. As in the past, I tried to extract it by right-clicking in the GUI and selecting "extract here. However, Ubuntu 15.04 does not decompress the file and replaces it with the following error message:

Cocould not open this file

Unable to open the file

There is no command installed for 7-zip archive files. Do you want to search for a command to open this file?

The command for 7-zip archive is not installed. Do you want to search for commands used to open the file?

The error message looks like this:

 

Cause

The cause of the error is clear from the error information. 7Z, called 7-zip, is better. This program is not installed, so the 7Z compressed file cannot be decompressed. This also implies that Ubuntu does not support 7-zip files by default.

 

Solution: Install 7zip in Ubuntu

To solve this problem, install the 7-Zip package in Ubuntu. Now, you may want to know how to install 7Zip In Ubuntu? Okay, in the previous error dialog box, if you right-click the Search Command, it will find the available p7zip package. Just click "Install" to Install it, such:

 

Optional solution: Install 7Zip on the terminal

If you prefer to use a terminal, you can use the following command to install 7zip in the terminal:

  1. sudo apt-get install p7zip-full

Note: In Ubuntu, you will find 3 7zip packages: p7zip, p7zip-full, and p7zip-rar. The difference between p7zip and p7zip-full is that p7zip is a more lightweight version that only provides. 7z and. the support for 7za files, while the full version provides support for more 7z compression algorithms (for audio files, etc. For p7zip-rar, in addition to the support for 7z files, it also provides support for. rar files.

In fact, the same error will also occur on the rarfile In Ubuntu. The solution is the same. Install the correct program.

I hope this quick article will help you solve the problem.How to enable 7zip in Ubuntu 14.04. We will not welcome any questions or suggestions.

For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2

Via: How To Fix: There is no command installed for 7-zip archive files

Author: Abhishek Translator: GOLinux Proofreader: wxy

This article was originally translated by LCTT and launched with the Linux honor in China

This article permanently updates the link address: Http://www.linuxidc.com/Linux/2015-08/121302.htm

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.