You don't say if you have the M809 or M939 series truck, but all the 5-ton tech manuals are located here:
M54, M817, M123A1C, etc... the big boys! Find TM's related to the 5 ton and larger series trucks in this forum. - No posting of threads
www.steelsoldiers.com
The whole filter housing itself simply unscrews if I remember correctly. If it's been on there forever, you might need a big rubber strap wrench to bust it free.
Obviously, drain the housing with the petcock at the bottom, first.
Fill the filter and housing before installing it. Yes, it's tricky to juggle it, just be careful. To prime the system, use the cold start hand pump on the dash. Also, just above the fuel filter, near the intake hose is a air bleed valve. Open the valve and have Soldier B operate the hand pump in the cab.
When fuel squirts out of the bleed valve, you're done. Try to start the truck.