This simple how to will walk through installing Subversion on Ubuntu 18.04.
This post covers the issues I experienced when upgrading a remote VM on Ubuntu 14.04 to 18.04. Some fine folks online say "Don't do it" and others say "I just upgraded 100 VMs without any issue". If you are going to upgrade, ensure you have a good snapshot and backups. Upgrading is fraught with danger.