To travel to Libya you need a visa, some Arab and African countries nationals are exempt from this requirement. Visas can be issued for Tourist and Business.
Visas cost around U$100 and take a week to process.
You may need an invitation/reference number depending on the embassy and the current rules.
Evidence of a visit to Israel may result in refusal of visa or entry to Libya.
Libya visa information
Libya Foreign Affairs