Embedded Linux on raspberry pi 3

Hi I want to do a multi-input and output control project via the raspberry pi 3 and I don’t need a GUI.
After some research, I decided to use Embedded Linux.
The important things for me are implementing a connection to the 800-wire module. How can I install Linux and start developing in C language?