Composer 2 required for folks like me
Playing around with Drupal 9 and the LAMP app requires composer v.2 If there is no reason to have both versions in the LAMP app, my wish for the next LAMP app release is:
please update composer to the new version 2.
@luckow If you need this rightaway - composer can be ran without installing it as a system command. You can download it to a LAMP app and then just:
php composer.phar --do-something
Indeed, the current composer comes from ubuntu 20. If you want a different version, you can always download the phar from the composer website and run it as @murgero suggested.