Install zip, unzip, g ++, and other software in linux.

Source: Internet
Author: User

Install zip, unzip, g ++, and other software in linux.

Recently, the company has configured a new 64-bit ECs instance. during deployment, it found that the zip/unzip compression and decompression software was not installed.

So I had to install these two software on my own. The best way to use linux is yum. The two commands are installed.

First, list the software installation package:

# Yum list | grep zip/unzip

A bunch of installation package names will appear. Then install the SDK directly.

# Yum install zip

# Yum install unzip

Now, you can use zip/unzip to encrypt and decrypt documents.

Then, an error occurs during compilation: gcc: error trying to exec 'cc1plus ': execvp: No such file or directory.

Check the gcc version with gcc-v/g ++-v and find that g ++ is not installed. Start to install g ++

# Yum list | grep gcc

Find the installation package named gcc-c ++. x86_64 and start the installation.

# Yum install gcc-c ++

Then the compilation is successful.

# Yum install unzip


In linux, how does one decompress all the zip files in the unzip directory?

First you need sudo apt-get install zip unzip or install 7z
Allow the system to install zip-format compression software
Then decompress the package. The image extraction method on the GUI is similar to that on windows, similar to winrar.
Find/yourpath-name * in the command line *. zip | xargs unzip-n unzipping reference man Manual: unzip [-Z] [-cflptTuvz [abjnoqsCKLMVWX $/:] file).zip] [file (s)...]
[-X xfile (s)...] [-d exdir]
Decompress the package to the specified directory.

How to install a zip file in linux

The zip package should be a binary or source code package. You can use unzip name.zip to decompress the package and check the format. If it is a binary package, check whether the package has the execution permission first, run chmod 755 filename. bin, and then. /filename. bin installation. If it is source code, run. /configure & make intall Installation

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.