What does 'odd years' mean??

for example: he lived there for 20 odd years.

Odd = approximately. Merriam-Webster says it means a little over the stated amount:

ODD -- somewhat more than the indicated approximate quantity, extent, or degree -- usually used in combination: 300-odd pages.