Install Composer on Ubuntu 22.04/24.04 LTS with these simple commands. Set up the latest or older versions, verify installation, and fix common issues.