What is the difference between Marx’s idea of alienation and Durkhiem’s concept of anomie and how these two ideas contribute to social stability?

What is the difference between Marx’s idea of alienation and Durkhiem’s concept of anomie and how these two ideas contribute to social stability? Would different classes of people experience alienation and anomie differently? What about different genders?