How is Libya governed?

Libya was a dictatorship under Gadaffi. Now it may become a democracy, but I doubt it.