It’s just four basic commands needed:-
./configure
make menuconfig
make
make install
fix any problems as you encounter them, follow the tried and proven recipes specific to your particular OS and there will be few if any problems. It is “possible” to cross-compile for Centos on Debian, but I don’t suggest it for a newbie.