Does Libya have a president or a ruler?

they have a dictator named Muammar Gaddafi