It depends on the content of the book. If the book does not contain any harmful material, then it is permissible to sell it, but if it does contain any type of harmful material, like immorality, doubts about real Religion, criminal tricks etc, then it will not be permissible to sell it.
Wassalam.