Did Karl Marx ever write about how to achieve socialism? I was thinking about this quote:

&gt; The philosophers have only interpreted the world, in various ways; the point is to change it.

Karl Marx wrote about the problems of capitalism, but did he write about what had to be done to change it and what it would be changed into? Or is the quote essentially ironic?