CentOS

Run the following commands to check whether the dependencies such as GCC, Make, and CMake have been installed:
gcc --version
make --version
cmake --version
xz --version
Python 3.9 --version
pip3 list|grep protobuf
yum list installed|grep "libgfortran4"

If the following information is displayed, the corresponding software has been installed. (The following information is only an example.)

gcc 4.8.5
GNU Make 3.82
cmake version 3.5.2
xz (XZ Utils) 5.2.5
Python 3.9.2
protobuf           3.13.0
libgfortran4.aarch64    8.3.1-2.1.1.el7    @CentOS-7.6
If any dependency is missing, run the following commands to install the software. You can change the following commands to install only some of them as required.
sudo yum install -y gcc make cmake xz Python 3.9-dev libgfortran4
pip3 install protobuf==3.13.0