Hi,
i didnt test follow steps from beginning, it is reproduction of steps I didt in 3 day journey, so may contain typo, and unnecessary steps and packages.
Take KiCad from gitlab :
git clone https://gitlab.com/kicad/code/kicad.git
with root install following ;
yum install wxGTK3 wxGTK3-gl cmake-data boost boost-devel opengl zlib zlib-devel cairo cairo-devel
yum install libcurl libcurl-devel mesa-libGL-devel
yum config-manager --set-enabled PowerTools
yum install glew-devel glm-devel swig openjpeg2-devel openjpeg2 openjpeg2-devel openjpeg2
yum install gtk3 gtk3-devel wxGTK3 wxGTK3-gl wxGTK3-media wxGTK3-i18n wxBase3
yum install wxBase3-devel
Install wxWidgets from source (download source, then follow building and installation documentation.
Follow KiCad instalation documentation for Linux but use follow instruction for Cmake :
cmake -DCMAKE_BUILD_TYPE=Release -DKICAD_USE_OCE=OFF -DKICAD_SCRIPTING_WXPYTHON=OFF ../../
From some reason (I didnt have time to check way KiCad installation routine install KiCad few native library on wrong path KiCad expet it on different path ) follow correction is needed (do it like root).
cd /lib64/
ln -s /usr/local/lib/libngspice.so.0 libngspice.so.0
ln -s /usr/local/lib64/libkicad_3dsg.so.2.0.0 libkicad_3dsg.so.2.0.0
I test few parts of KiCad and it is look like that application is working correctly.