Hello, huiyi_chen. You can install the 9.X User license and then upgrade directly to 10.5. Check this link for direct upgrade path to CUCM 10.5:
CUCM Compatibility Information:
http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cucm/compat/matrix/10_x/CUCM_BK_CD1DB914_00_compat_matrix/CUCM_BK_CD1DB914_00_compat_matrix_chapter_01.html#CUCM_RF_UB2778D8_00
Please send me an e-mail (adawa@cisco.com), if you have additional concerns or need local Cisco support. Kind regards and hope this helps!