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