A heavy explosion was heard on Sunday morning in the Libyan capital Tripoli after an aircraft circled for several minutes over the city, witnesses said.