Remove any baseboards and molding on the wall where. Build the bookcase to fit the wall you want (it can be the entire wall or just part of it).
Diy shelves built into wall
Diy shelves in the structure of the walls
Diy wall shelving organizing small room
DIY Solid Wood WalltoWall Shelves Chris Loves Julia