The first libraries were installed in Mesopotamia, though to begin with they were more like archives than libraries proper. They contained records of the practical, day-to-day activities of the Mesopotamian city-states. This is true whether the library was in Nippur, in the middle of the third millennium BC, or Ebla, where two thousand clay tablets were found in 1980, dating to roughly 2250 BC, or to later libraries. We have to remember that in most cases the libraries served the purposes of the priests and that in Mesopotamian cities, where the temple cult owned huge estates, practical archives – recording transactions, contracts and deliveries – were as much part of the cult as were ritual texts for the sacred services. But the propagandistic needs of the cult and the emerging royal elite – hymns, inscriptions – provoked a more modern form of literacy. Texts such as the epic of Gilgamesh, or the epic of Creation, may therefore have been used in ritual. But these works, which involved some form of mental activity beyond flat records of transactions, appear first in the texts at Nippur in the middle of the third millennium. The next advance occurred at Ebla, Ur and Nippur.
75 Each of these later libraries boasted a new, more scholarly entity: catalogues of the holdings, in which works of the imagination, and/or religious works, were listed separately. Later still, there was a further innovation: several lines of writing, added at the end of the text on the back surface, identifying what the text contained, more or less as a table of contents does today. This acquired the term colophon, derived from the GreekLibraries undoubtedly existed in ancient Egypt, but because they wrote on papyrus (the ‘bullrushes’ in which the infant Moses was supposed to have been sequestered), little has survived. In describing the building complex of Ramses II (1279–1213 BC), the Greek historian Diodorus says that it included a sacred library which bore the inscription ‘Clinic for the Soul’.