Upgrade ACTIVEMQ

Need help for : is it possible o upgrade activemq 5.12.2 to 5.18.4 on linux please. If not have a solution to arrive to 5.18.4 with my old data.