Answer:
Whether your truck has a diesel engine or a gasoline engine, both kinds of engines have the same starter and ignition systems, for most cases.
When you turn the key, and don't hear the starting motor, either your battery is probably dead, your fuses are out, or there is a connection problem.
If you do hear the starting motor when you turn the key, that means your battery and starting motor are just fine. But that also means there could be so many other things that could be causing your truck to not start.
Your best option would be to have a mechanic take a look at your truck. It could be something that he/she could figure out just by glancing at it, or it could be something that could take hours to fix.
Good luck!