Well its very simple in your case. First backup .aMule directory from user where you deploy it from. Then remove old aMule 2.2.6 from the system with package manager. Then install aMule 2.3.1 port package from Ubt's native repository with package manager. Its simple as that unless you mean help you compile it from source and disable GUI support and enable CLI/WEB. Then post back what you need help with and ill walk you step by step.