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 wall shelves reddit
Diy 3 level wall shelves
Diy heavy duty wall shelves