AlmaLinux8.7 make: cc: コマンドが見つかりませんでしたの対処法

環境
# cat /etc/redhat-release
AlmaLinux release 8.7 (Stone Smilodon)

エラー現象
[root@localhost nkf-2.1.3]# make && make install
cc -g -O2 -Wall -pedantic -c nkf.c
make: cc: コマンドが見つかりませんでした
make: *** [Makefile:20: nkf.o] エラー 127

解決方法
# yum install gcc

AlmaLinux

Posted by arkgame