You will not require anti-malarial drugs if visiting Libya as it is very low risk. Avoid mosquito bites.
Bite Avoidance Measures
Use mosquito nets impregnated with permethrin, an insecticide that kills mosquitoes instantly by acting on its central nervous system. During daytime, tie the net in a knot and leave it hanging from the ceiling. At bedtime untie the net and check carefully for hidden mosquitoes or any tears. Holes or tears must be mended with adhesive tape or thread. Tuck the edge of the net under the mattress and make sure there are no openings.
Use insecticides in the bedroom. Frequent spraying is necessary. It is important not to open the windows during spraying. Allow the vapour to settle before leaving the room.
Apply insect repellent to all exposed areas of skin, avoiding eyes and mouth. Also apply to clothing, reapplying frequently in accordance with the manufacturers directions. The use of DEET products is advised.
From sunset onwards, wear long-sleeved shirts and long trousers. Light colours attract mosquitoes less than dark clothing. Aftershave and perfumes will tend to attract mosquitoes.