When using the unzip command, an error is reported, prompting -bash: unzip: command not found, unzip related programs are not found, search the installation command on the Internet https://www.cnblogs.com/juihai/p/10566274.html :
#Get the installation list Search zip/unzip in the yum installation list whether there is
yum list | grep zip/unzip
#Execute the installation support zip command according to the prompt enter y to allow installation
yum install zip
#Execute the installation support unzip command according to the prompt enter y to allow installation
yum install unzip
When executing Get Installation List, it prompts Repodata is over 2 weeks old. Install yum-cron? Or run: yum makecache fast ( https://cloud.tencent.com/developer/article/1409686 ), execute yum makecache fast command to update the local yum source cache, and then continue to execute the previous command.
Get installation list, install zip related programs
Install unzip related programs and test decompress a jar file
The above is the Linux-related knowledge shared by Liangxu Tutorial Network for all friends.