Hamlib provides a common way for programs to control many radios and antenna rotators. You will often encounter it inside logging or digital-mode software. Check whether your radio is supported, then follow that application's connection instructions rather than assuming every radio uses the same settings.
Software · beginner
Hamlib
Open-source libraries for controlling many amateur radio transceivers.