کتبخانه (Persian) comes from Persian خانه, from Middle Persian 𐭡𐭩𐭲𐭠, from Old Persian *vahanam, from Proto-Iranian *wāhana, from Proto-Iranian Hwah-, from Proto-Indo-Iranian Hwas-, from Proto-Indo-European h₂wes- — to dwell, live, reside; to stay, spend the night.
Ancestry of “کتبخانه”, step by step
کتبخانه traces back through two separate lines of ancestry.