Libya is still a very conservative, Islamic society. Women, despite all government efforts, are repressed and have their freedom restricted by most of tribes, more by local traditions and culture than by religious or legal requirements. Exceptions include coastal cities and the Tuareg and Toubou tribes whose women have much greater freedom than those of Arabic tribes.
Dress is a particularly sensitive area and women visitors should cover themselves up using long skirts or trousers and dresses not revealing their shoulders when in towns. When swimming a full bathing costume is strongly recommended for women. Men should also avoid bearing themselves too much except in the more informal desert surroundings. In towns shorts are acceptable for men except when visiting religious sites or if invited to visit an Arab family. When passing or receiving any item, in particular food, the right hand should be used.
It is forbidden to bring alcohol into the country although alcohol free beer is available. Secretly many Libyans do drink some locally made excellent drinks and some drinks smuggled in from neighbouring countries.
Most officials are very helpful and friendly but be aware that this is a very carefully controlled country. At all stages the police are aware of your movements through the system of travel permits. Do not try to go against the laid down procedures.