I was building a ruby environment with reference to the following site ... https://qiita.com/naoki_mochizuki/items/814e0979217b1a25aa3e
[naoki] sudo yum install \ #install yum git make gcc-c++ patch \ #c and c++Compiler, git diff changed to patch file openssl-devel \ libyaml-devel libffi-devel libicu-devel \ libxml2 libxslt libxml2-devel libxslt-devel \ zlib-devel readline-devel \ mysql mysql-server mysql-devel \ ImageMagick ImageMagick-devel \ epel-release
Various errors occur
-bash: openssl-deve:Command not found -bash: libxml2:Command not found * The error statement has disappeared, but the same error occurs with git.
I was completely misread. When executing the specified command, you must prefix it with sudo yum install as shown below. Now everything has passed the command. It took me a while to notice ...
【sudo yum install】 ＋ 【git make gcc-c++ patch】