Up the wall.
Work Step by Step
Since the book is not moving, net forces on it should be zero. Since gravitational force is acting in the downward direction, to cancel this force, friction will act in an upward direction.
You can help us out by revising, improving and updating this answer.Update this answer