Not necessarily. Discussion of how to do DRM removal is not allowed at MobileRead. And removal of DRM from library books tends to be frowned on or gets you called a pirate. But, we can tell you that there are DRM removal tools at
https://apprenticealf.wordpress.com/. I don't know if these work on the library books as I have never tried.