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