Yum upgrade Asterisk 1.6 to 1.8

Good day,

Is upgrading using yum repository recommended using the following procedure?

yum remove asterisk16*
yum install asterisk18*

Blessings,