Let's start by installing prerequisites. For the Joomla 4 installation we will need the curl and tasksel commands. The following linux command will install both:
This is a companion discussion topic for the original entry at https://linuxconfig.org/install-joomla-4-on-ubuntu-18-04-bionic-beaver-linux